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


Hi all,

working a fix for CMIS properties info page (File > Properties... > 'CMIS Properties' tab) reported in bug
<https://bugs.documentfoundation.org/show_bug.cgi?id=74885>
I spotted the boolean property type display missing the labels, see:

image1: <https://drive.google.com/file/d/0B6BBVpXve9G4LXZIaGRGbjl2VHc/view?usp=sharing>

I tried to fix using hexpand property with patch:

diff --git a/sfx2/uiconfig/ui/cmisline.ui b/sfx2/uiconfig/ui/cmisline.ui
index bfdf7b0..10055d1 100644
--- a/sfx2/uiconfig/ui/cmisline.ui
+++ b/sfx2/uiconfig/ui/cmisline.ui
@@ -66,6 +66,7 @@
                 <property name="use_underline">True</property>
                 <property name="xalign">0</property>
                 <property name="yalign">0</property>
+                <property name="hexpand">True</property>
                 <property name="active">True</property>
                 <property name="draw_indicator">True</property>
                 <property name="group">no</property>
@@ -87,6 +88,7 @@
                 <property name="use_underline">True</property>
                 <property name="xalign">0</property>
                 <property name="yalign">0</property>
+                <property name="hexpand">True</property>
                 <property name="draw_indicator">True</property>
                 <property name="group">yes</property>
               </object>

obtaining this:

image2: <https://drive.google.com/file/d/0B6BBVpXve9G4LUdfX3RWbnFjTFk/view?usp=sharing>

Resizing becomes this:

image3: <https://drive.google.com/file/d/0B6BBVpXve9G4MnN2TV91TmJDNDg/view?usp=sharing>

Tab page code starts from here:
<http://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/dinfdlg.cxx#2277>

I'd like to have the two radiobuttons nearer in a fixed position, displaying the labels, any clean way to obtain?

Is there some other part of LO code that has similar boolean type display?

Thanks.

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu

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.