CMIS props info page needs some graphic trimming

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Fri Mar 4 09:53:36 UTC 2016


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


More information about the LibreOffice mailing list