but only for dialogs

f41
Caolán McNamara 9 years ago
parent ec8ba81ea1
commit 11eefe4574

@ -0,0 +1,26 @@
From bba3f7bf8f831bf7f51de6441b3f15ed667e56fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
Date: Wed, 16 Dec 2015 11:02:27 +0000
Subject: [PATCH] but only for dialog
Change-Id: I7e4f5c075ca4844f81a59071bed475ea1da4bf91
---
vcl/source/window/syswin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 3f2cde1..057b51b 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -1135,7 +1135,7 @@ void SystemWindow::DoInitialLayout()
mbIsCalculatingInitialLayoutSize = false;
mbInitialLayoutDone = true;
}
- else if (!(GetStyle() & WB_SIZEABLE))
+ else if (IsDialog() && !(GetStyle() & WB_SIZEABLE))
{
SetMinOutputSizePixel(GetSizePixel());
}
--
2.5.0

@ -259,6 +259,7 @@ Patch20: 0001-tdf-96384-Add-a-new-signal-text-selection-to-lokdocv.patch
Patch21: 0001-Resolves-rhbz-1289394-gtk3-implement-tooltips-native.patch
Patch22: 0001-don-t-be-creative-and-use-a-simple-lookup-table.patch
Patch23: 0001-Related-rhbz-1281906-set-a-min-size-on-un-resizeable.patch
Patch24: 0001-but-only-for-dialog.patch
%define instdir %{_libdir}
%define baseinstdir %{instdir}/libreoffice

Loading…
Cancel
Save