summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-06-10 13:15:53 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-06-10 14:14:23 +0200
commit098999e62e5a428b268259704584dd0f15dc22f7 (patch)
treef5ba110c6c80c1bc57d4b2c70896ddf78da89e5a
parente52a805172914164912066a65c6e95988d8b2131 (diff)
Drop unused text column from IconView's model
... and also the hardcoded column count and width. This allows to make the elements position themselves better in the dialog, and to avoid the unused space below the icon in GTK, similar to non-GTK as implemented in commit 54725f6e5f06b074d1c08d8efbd16518b96882d5 Author Mike Kaganski <mike.kaganski@collabora.com> Date Tue May 03 09:49:07 2022 +0100 Don't add empty labels to fontwork's icon view Change-Id: I19fa4e2002856322266b21873b383bc887cf1029 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135584 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--svx/uiconfig/ui/fontworkgallerydialog.ui5
1 files changed, 0 insertions, 5 deletions
diff --git a/svx/uiconfig/ui/fontworkgallerydialog.ui b/svx/uiconfig/ui/fontworkgallerydialog.ui
index 00554aebdd21..54fabdb5c7b8 100644
--- a/svx/uiconfig/ui/fontworkgallerydialog.ui
+++ b/svx/uiconfig/ui/fontworkgallerydialog.ui
@@ -6,8 +6,6 @@
<columns>
<!-- column-name expander -->
<column type="GdkPixbuf"/>
- <!-- column-name text -->
- <column type="gchararray"/>
<!-- column-name id -->
<column type="gchararray"/>
</columns>
@@ -122,10 +120,7 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="model">liststore1</property>
- <property name="columns">3</property>
- <property name="item_width">100</property>
<property name="pixbuf-column">0</property>
- <property name="text-column">1</property>
</object>
</child>
</object>