diff options
Diffstat (limited to 'svtools/source/contnr/treelistbox.cxx')
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 695fd424e898..d63925775588 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -378,7 +378,8 @@ SvTreeListBox::SvTreeListBox(vcl::Window* pParent, WinBits nWinStyle) : mbAlternatingRowColors(false), mbUpdateAlternatingRows(false), eSelMode(NO_SELECTION), - nMinWidthInChars(0) + nMinWidthInChars(0), + mbCenterAndClipText(false) { nDragOptions = DND_ACTION_COPYMOVE | DND_ACTION_LINK; nImpFlags = SvTreeListBoxFlags::NONE; @@ -409,7 +410,8 @@ SvTreeListBox::SvTreeListBox(vcl::Window* pParent, const ResId& rResId) : mbAlternatingRowColors(false), mbUpdateAlternatingRows(false), eSelMode(NO_SELECTION), - nMinWidthInChars(0) + nMinWidthInChars(0), + mbCenterAndClipText(false) { pTargetEntry = nullptr; nImpFlags = SvTreeListBoxFlags::NONE; @@ -2287,6 +2289,10 @@ void SvTreeListBox::SetEntryHeight( short nHeight ) } } +void SvTreeListBox::SetEntryWidth( short nWidth ) +{ + nEntryWidth = nWidth; +} void SvTreeListBox::AdjustEntryHeight( const Image& rBmp ) { |