Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
a248ca40
Commit
a248ca40
authored
Dec 16, 2003
by
gbazin
Browse files
* modules/gui/wxwindows/interface.cpp: better heuristic for the interface size on win32.
parent
0e282e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
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/1
4
1
5:42:19
gbazin Exp $
* $Id: interface.cpp,v 1.7
9
2003/12/1
6
1
3: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
Supports
Markdown
0%
Try again
or
attach a new 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