Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2450

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/50/2450/1

Resolves: fdo#61241 force area page to size itself for max visible controls

Change-Id: I2d67ce71528786ef300ab83ee1e5b1cad6b4abe8
(cherry picked from commit fc8022431a1684f3cfb1e2f7e4ec923a8e71df94)
---
M cui/source/tabpages/tparea.cxx
1 file changed, 7 insertions(+), 0 deletions(-)



diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 87b410f..47f4878 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -765,6 +765,13 @@
     aLbColor.SetAccessibleRelationMemberOf( &aFlProp );
     aMtrFldOffset.SetAccessibleRelationLabeledBy(&aFlOffset);
     aMtrFldOffset.SetAccessibleName(aFlOffset.GetText());
+
+    //fdo#61241 lock down size of this tab page until it's
+    //converted to .ui (remember to use some sizegroups
+    //that take into account hidden frames)
+    Size aSize(GetSizePixel());
+    set_width_request(aSize.Width());
+    set_height_request(aSize.Height());
 }
 
 // -----------------------------------------------------------------------

-- 
To view, visit https://gerrit.libreoffice.org/2450
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d67ce71528786ef300ab83ee1e5b1cad6b4abe8
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Caolán McNamara <caolanm@redhat.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.