You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2013/07/16 15:03:12 UTC
svn commit: r1503702 - /openoffice/trunk/main/vcl/unx/gtk/window/gtkframe.cxx
Author: af
Date: Tue Jul 16 13:03:12 2013
New Revision: 1503702
URL: http://svn.apache.org/r1503702
Log:
122709: Also test for small heights.
Modified:
openoffice/trunk/main/vcl/unx/gtk/window/gtkframe.cxx
Modified: openoffice/trunk/main/vcl/unx/gtk/window/gtkframe.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/unx/gtk/window/gtkframe.cxx?rev=1503702&r1=1503701&r2=1503702&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/unx/gtk/window/gtkframe.cxx (original)
+++ openoffice/trunk/main/vcl/unx/gtk/window/gtkframe.cxx Tue Jul 16 13:03:12 2013
@@ -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