Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
9fa6d902
Commit
9fa6d902
authored
Dec 01, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwidgets/interface.cpp: slightly smaller interface size.
parent
8d3e7704
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/interface.cpp
+5
-1
No files found.
modules/gui/wxwidgets/interface.cpp
View file @
9fa6d902
...
...
@@ -222,7 +222,7 @@ Interface::Interface( intf_thread_t *_p_intf, long style ):
/* Create a main panel that will fill in the interface window */
main_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
SetSizer
(
main_sizer
);
main_panel
=
new
wxPanel
(
this
,
-
1
,
wx
DefaultPosition
,
wxDefaultSize
,
main_panel
=
new
wxPanel
(
this
,
-
1
,
wx
Point
(
0
,
0
),
wxSize
(
0
,
0
)
,
wxCLIP_CHILDREN
);
main_sizer
->
Add
(
main_panel
,
1
,
wxEXPAND
);
main_panel
->
SetFocus
();
...
...
@@ -262,9 +262,11 @@ Interface::Interface( intf_thread_t *_p_intf, long style ):
statusbar
->
SetStatusText
(
wxString
::
Format
(
wxT
(
"x%.2f"
),
1.0
),
1
);
/* Get minimum window size to prevent user from glitching it */
main_panel
->
SetSizeHints
(
wxSize
(
-
1
,
0
)
);
panel_sizer
->
Layout
();
panel_sizer
->
Fit
(
main_panel
);
main_sizer
->
Layout
();
main_sizer
->
Fit
(
this
);
main_min_size
=
GetSize
();
main_panel
->
SetSizeHints
(
wxSize
(
-
1
,
-
1
)
);
/* Video window */
video_window
=
0
;
...
...
@@ -279,8 +281,10 @@ Interface::Interface( intf_thread_t *_p_intf, long style ):
panel_sizer
->
Add
(
input_manager
,
0
,
wxEXPAND
,
0
);
/* Layout everything */
main_panel
->
SetSizeHints
(
wxSize
(
-
1
,
0
)
);
panel_sizer
->
Layout
();
panel_sizer
->
Fit
(
main_panel
);
main_sizer
->
Layout
();
main_sizer
->
Fit
(
this
);
main_panel
->
SetSizeHints
(
wxSize
(
-
1
,
-
1
)
);
#if wxUSE_DRAG_AND_DROP
/* Associate drop targets with the main interface */
...
...
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