summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-07-16 13:03:12 +0000
committerAndre Fischer <af@apache.org>2013-07-16 13:03:12 +0000
commitf56ded7c2aac573e4e5f060892327843eed23d0c (patch)
treec4f7e27c976a056050513de6cfb17cbc5dfb7d7e
parentdb4affff17f202e69447fd22c246843a6cda3e52 (diff)
122709: Also test for small heights.
Notes
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index 870d63ec034a..52c1eaad91da 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -1245,7 +1245,7 @@ Size GtkSalFrame::calcDefaultSize()
long h = aScreenSize.Height();
- if (aScreenSize.Width() <= 1024)
+ if (aScreenSize.Width() <= 1024 || aScreenSize.Height() <= 768)
{
// For small screen use the old default values. Original comment:
// fill in holy default values brought to us by product management