summaryrefslogtreecommitdiff
path: root/sw/uiconfig/swriter
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-04-03 14:57:29 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-04-04 17:24:54 +0200
commit29750e249530eec0b3e00ceb75e668ad22b21cae (patch)
tree2f3bfc94f50988482c95b7c811e318722edff35b /sw/uiconfig/swriter
parent23f13bc8c1aba9e53789180ef09ed06594ea4649 (diff)
improve usability of variable fields
The value field of the Variables page of the field dialog is changed into a scrollable field to enhance usability in combination with longer values of variable or user fields Change-Id: Ib268cf22ff54604214fb090c3c93b7d145a9c9a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165750 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sw/uiconfig/swriter')
-rw-r--r--sw/uiconfig/swriter/ui/fldvarpage.ui34
1 files changed, 21 insertions, 13 deletions
diff --git a/sw/uiconfig/swriter/ui/fldvarpage.ui b/sw/uiconfig/swriter/ui/fldvarpage.ui
index 475b416e0c9b..7925bdbaaad0 100644
--- a/sw/uiconfig/swriter/ui/fldvarpage.ui
+++ b/sw/uiconfig/swriter/ui/fldvarpage.ui
@@ -524,7 +524,7 @@
<object class="GtkEntry" id="name">
<property name="visible">True</property>
<property name="can-focus">True</property>
- <property name="valign">center</property>
+ <property name="valign">top</property>
<property name="hexpand">True</property>
<property name="truncate-multiline">True</property>
<child internal-child="accessible">
@@ -534,8 +534,8 @@
</child>
</object>
<packing>
- <property name="left-attach">0</property>
- <property name="top-attach">1</property>
+ <property name="left-attach">1</property>
+ <property name="top-attach">0</property>
</packing>
</child>
<child>
@@ -548,21 +548,29 @@
<property name="xalign">0</property>
</object>
<packing>
- <property name="left-attach">1</property>
- <property name="top-attach">0</property>
- <property name="width">2</property>
+ <property name="left-attach">0</property>
+ <property name="top-attach">1</property>
+ <property name="width">1</property>
</packing>
</child>
<child>
- <object class="GtkEntry" id="value">
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can-focus">True</property>
- <property name="valign">center</property>
<property name="hexpand">True</property>
- <property name="truncate-multiline">True</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="value-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="fldvarpage|extended_tip|value">Enter the contents to add to a user-defined field.</property>
+ <property name="vexpand">True</property>
+ <property name="shadow-type">in</property>
+ <child>
+ <object class="GtkTextView" id="value">
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="comments-atkobject">
+ <property name="AtkObject::accessible-description" translatable="yes" context="fldvarpage|extended_tip|value">Enter the contents to add to a user-defined field.</property>
+ </object>
+ </child>
</object>
</child>
</object>
@@ -576,7 +584,7 @@
<object class="GtkGrid" id="toolbar">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="valign">center</property>
+ <property name="valign">end</property>
<property name="column-spacing">6</property>
<child>
<object class="GtkButton" id="apply">