summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorShivam Kumar Singh <shivamhere247@gmail.com>2020-07-23 12:12:21 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-23 16:40:10 +0200
commit27c1a7fbcd3e236d4eee7ee3e1a7acdaa47510eb (patch)
treeedc7e167d1eb10d62dcfb5100d12a6425bf5bd5f /svx
parentf8bef0470f35cb14d33be22c7dd5e90e5287fa0c (diff)
Added headers to Inspector Panel
Change-Id: Id44d42a9a1495b74ce7f75be28aa2e39403e9f4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99265 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/inspector/InspectorTextPanel.cxx2
-rw-r--r--svx/uiconfig/ui/inspectortextpanel.ui6
2 files changed, 5 insertions, 3 deletions
diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
index ddbee7f51624..d9a389aefab9 100644
--- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx
+++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
@@ -51,7 +51,7 @@ InspectorTextPanel::InspectorTextPanel(vcl::Window* pParent,
float fWidth = mpListBoxStyles->get_approximate_digit_width();
std::vector<int> aWidths;
aWidths.push_back(fWidth * 34);
- aWidths.push_back(fWidth * 15);
+ aWidths.push_back(fWidth * 34);
mpListBoxStyles->set_column_fixed_widths(aWidths);
}
diff --git a/svx/uiconfig/ui/inspectortextpanel.ui b/svx/uiconfig/ui/inspectortextpanel.ui
index 71199a8e449d..0b2de5a225f4 100644
--- a/svx/uiconfig/ui/inspectortextpanel.ui
+++ b/svx/uiconfig/ui/inspectortextpanel.ui
@@ -54,8 +54,6 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="model">liststore</property>
- <property name="headers_visible">False</property>
- <property name="headers_clickable">False</property>
<property name="search_column">0</property>
<property name="enable_tree_lines">True</property>
<child internal-child="selection">
@@ -63,6 +61,8 @@
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
+ <property name="resizable">True</property>
+ <property name="title" translatable="yes" context="inspectortextpanel|property">Properties</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext1"/>
<attributes>
@@ -75,6 +75,8 @@
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
+ <property name="resizable">True</property>
+ <property name="title" translatable="yes" context="inspectortextpanel|value">Values</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>