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

Caolán McNamara caolanm at redhat.com
Wed Dec 9 05:27:43 PST 2015


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

New commits:
commit 7e48820cabeb128258ce4340df8d4411bad442b9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 9 13:26:05 2015 +0000

    set both min and desired size at the same time
    
    otherwise under at least gtk2 the "missing file" dialog from
    ./soffice no-thing-at-all
    will be oversized
    
    Change-Id: I3c0c9a0a8ec0fcd37fb8830940a9d4909e6b5a1b

diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx
index ad846ed..c9885d7 100644
--- a/vcl/source/window/btndlg.cxx
+++ b/vcl/source/window/btndlg.cxx
@@ -205,6 +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