[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Tue Dec 8 07:12:38 PST 2015


 vcl/source/window/btndlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ebafc4fef20944c9c0ba75fbea064bf285a73735
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 8 15:10:45 2015 +0000

    gtk3+wayland: dialogs work a lot better if a min size is set
    
    instead of just an initial size, because we can set a size-request for the
    minimum size and that's a reliable thing
    
    Change-Id: I83916715cb9e3dceb6e88f3ca8fc86920677c026

diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx
index 59c0638..ad846ed 100644
--- a/vcl/source/window/btndlg.cxx
+++ b/vcl/source/window/btndlg.cxx
@@ -205,7 +205,7 @@ void ButtonDialog::ImplPosControls()
             nY += maCtrlSize.Height()+IMPL_SEP_BUTTON_Y;
     }
 
-    SetOutputSizePixel( aDlgSize );
+    SetMinOutputSizePixel(aDlgSize);
 
     mbFormat = false;
 }


More information about the Libreoffice-commits mailing list