diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2024-05-28 10:15:43 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-05-29 08:59:02 +0200 |
commit | 2164406a973fd40fcc56b8839a21854f6b50a53b (patch) | |
tree | fc870cd8995d16dbeb7090dcf7462c481b5608cf /sfx2/uiconfig/ui/documentinfopage.ui | |
parent | 22ce8ed05be37d676739a578b05cc5217109fd87 (diff) |
Resolves tdf#160937 - Improve dialog size for document properties
linefragment.ui and documentinfopage.ui modified to keep
the usual dialog dimension
Change-Id: I1777e4094e584d676a48855717827aaed413e251
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168139
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sfx2/uiconfig/ui/documentinfopage.ui')
-rw-r--r-- | sfx2/uiconfig/ui/documentinfopage.ui | 78 |
1 files changed, 43 insertions, 35 deletions
diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui index 919fb9934563..f908e7fa4e32 100644 --- a/sfx2/uiconfig/ui/documentinfopage.ui +++ b/sfx2/uiconfig/ui/documentinfopage.ui @@ -184,6 +184,7 @@ <property name="can-focus">True</property> <property name="receives-default">False</property> <property name="no-show-all">True</property> + <property name="halign">start</property> <property name="use-underline">True</property> <property name="draw-indicator">True</property> </object> @@ -399,6 +400,7 @@ <property name="can-focus">True</property> <property name="receives-default">False</property> <property name="no-show-all">True</property> + <property name="halign">start</property> <property name="draw-indicator">True</property> </object> <packing> @@ -410,65 +412,71 @@ <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="halign">start</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="image-preferred-dpi-checkbutton"> <property name="label" translatable="yes" context="documentinfopage|image-preferred-dpi-checkbutton">Preferred resolution for images:</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">False</property> + <property name="halign">start</property> <property name="margin-end">6</property> <property name="draw-indicator">True</property> - <accessibility> - <relation type="label-for" target="image-preferred-dpi-combobox"/> - </accessibility> </object> <packing> - <property name="expand">True</property> + <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkComboBoxText" id="image-preferred-dpi-combobox"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="has-entry">True</property> - <items> - <item>96</item> - <item>150</item> - <item>200</item> - <item>300</item> - <item>600</item> - </items> - <child internal-child="entry"> - <object class="GtkEntry"> - <property name="truncate-multiline">True</property> + <property name="halign">start</property> + <property name="margin-start">24</property> + <property name="spacing">3</property> + <child> + <object class="GtkComboBoxText" id="image-preferred-dpi-combobox"> + <property name="visible">True</property> <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="has-entry">True</property> + <items> + <item>96</item> + <item>150</item> + <item>200</item> + <item>300</item> + <item>600</item> + </items> </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbUnit"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="margin-start">6</property> + <property name="margin-end">6</property> + <property name="label" translatable="yes" context="documentinfopage|image-preferred-ppi-unit">ppi</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> </child> - <accessibility> - <relation type="labelled-by" target="image-preferred-dpi-checkbutton"/> - </accessibility> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="lbUnit"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="margin-start">6</property> - <property name="margin-end">6</property> - <property name="label" translatable="yes" context="documentinfopage|image-preferred-ppi-unit">ppi</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> |