summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-17 12:34:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-17 11:42:12 +0000
commiteae6c400109c91237ea5e7890f8d950ee0e52cbb (patch)
treeae2eb34195a96b37a5b99dc229da51e5bf195c1f /include/svtools
parent4af723397ec041f006ffce57f6347e669076e167 (diff)
add a min-width-chars property to SvTreeListBox
Change-Id: If6213ab630222d0d9483beea602ea9d54be2396c Reviewed-on: https://gerrit.libreoffice.org/5971 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/treelistbox.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 699300f25497..404689a52b0e 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -238,6 +238,7 @@ class SVT_DLLPUBLIC SvTreeListBox
DragDropMode nOldDragMode;
SelectionMode eSelMode;
sal_Int8 nDragOptions;
+ sal_Int32 nMinWidthInChars;
SvTreeListEntry* pEdEntry;
SvLBoxItem* pEdItem;
@@ -501,6 +502,10 @@ public:
/** Enables, that one cell of a tablistbox entry can be focused */
void EnableCellFocus();
+ void set_min_width_in_chars(sal_Int32 nChars);
+
+ virtual bool set_property(const OString &rKey, const OString &rValue);
+
protected:
using SvListView::Expand;
using SvListView::Collapse;