summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-31 13:11:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-31 21:03:28 +0200
commitcd64d19a668b39fbb624e1786a0b5e0ccfcebdfb (patch)
tree06b6c449463b1f0bbdf691d208834fb26f145bff /vcl
parentacafd1ac87cb23a447353b8f0419a25fbe1c4430 (diff)
retain column alignment on resize
Change-Id: I9ba400817414ba3830823278137a806201992de5 Reviewed-on: https://gerrit.libreoffice.org/76752 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/treelist/svtabbx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx
index d50d91ca80ca..64283bfc66ec 100644
--- a/vcl/source/treelist/svtabbx.cxx
+++ b/vcl/source/treelist/svtabbx.cxx
@@ -122,7 +122,7 @@ void SvTabListBox::SetTabs(sal_uInt16 nTabs, long const pTabPositions[], MapUnit
aSize = LogicToLogic( aSize, &aMMSource, &aMMDest );
long nNewTab = aSize.Width();
mvTabList[nIdx].SetPos( nNewTab );
- mvTabList[nIdx].nFlags = SvLBoxTabFlags::ADJUST_LEFT;
+ mvTabList[nIdx].nFlags &= (SvLBoxTabFlags::ADJUST_LEFT | SvLBoxTabFlags::ADJUST_CENTER | SvLBoxTabFlags::ADJUST_RIGHT);
}
SvTreeListBox::nTreeFlags |= SvTreeFlags::RECALCTABS;
if( IsUpdateMode() )