Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
a248ca40
Commit
a248ca40
authored
Dec 16, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/interface.cpp: better heuristic for the interface size on win32.
parent
0e282e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+3
-6
No files found.
modules/gui/wxwindows/interface.cpp
View file @
a248ca40
...
...
@@ -2,7 +2,7 @@
* interface.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001, 2003 VideoLAN
* $Id: interface.cpp,v 1.7
8 2003/12/14 15:42:19
gbazin Exp $
* $Id: interface.cpp,v 1.7
9 2003/12/16 13:22:51
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -439,11 +439,8 @@ void Interface::CreateOurToolBar()
#ifndef WIN32
frame_sizer
->
SetMinSize
(
toolbar_sizer
->
GetMinSize
().
GetWidth
(),
-
1
);
#else
frame_sizer
->
SetMinSize
(
toolbar
->
GetToolSize
().
GetWidth
()
*
11
+
toolbar
->
GetToolSeparation
()
*
3
+
(
toolbar
->
GetMargins
().
GetWidth
()
+
2
)
*
toolbar
->
GetToolsCount
(),
-
1
);
#else
/* That sucks but for some reason it works better */
frame_sizer
->
SetMinSize
(
toolbar_sizer
->
GetMinSize
().
GetWidth
()
*
2
/
3
,
-
1
);
#endif
#if !defined(__WXX11__)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment