projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae52f97
)
Make content list and buttons taller on low-res displays.
attic/800x600-buttons
author
Carl Hetherington
<cth@carlh.net>
Thu, 27 Feb 2020 20:39:57 +0000
(21:39 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 27 Feb 2020 22:11:39 +0000
(23:11 +0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 18318d4b2cceab04187fc42b16580f883359df2a..9a3e5ce9ac8e88d1c84e6ca107a1e97f89b83b00 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-155,9
+155,12
@@
ContentPanel::ContentPanel (wxNotebook* n, shared_ptr<Film> film, weak_ptr<FilmV
/* This is a hack to try and make the content notebook a sensible size; large on big displays but small
enough on small displays to leave space for the content area.
/* This is a hack to try and make the content notebook a sensible size; large on big displays but small
enough on small displays to leave space for the content area.
+ Big displays: make the bottom half 600 pixels high, so the content list is big and takes up remaining space.
+ Small displays: make the top half 250 pixels high so we can definitely see all the buttons, even at the
+ expense of height in the bottom half.
*/
if (screen) {
*/
if (screen) {
- _splitter->SplitHorizontally (top, _notebook, screen->height > 800 ? -600 :
-1
50);
+ _splitter->SplitHorizontally (top, _notebook, screen->height > 800 ? -600 :
2
50);
}
_timing_panel = new TimingPanel (this, _film_viewer);
}
_timing_panel = new TimingPanel (this, _film_viewer);