[Libreoffice-commits] core.git: chart2/source
heiko tietze
tietze.heiko at gmail.com
Wed Jan 31 10:20:47 UTC 2018
chart2/source/controller/main/ElementSelector.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2192f72e78ce0afeecd40c03f3ad915c7199bf39
Author: heiko tietze <tietze.heiko at gmail.com>
Date: Tue Jan 30 11:30:23 2018 +0100
tdf#90487 Size of chart series dropdown
Width reduced to 75px
Change-Id: I269eed9054e75d3885cb53d6a773460d30c67a14
Reviewed-on: https://gerrit.libreoffice.org/48896
Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>
Tested-by: Heiko Tietze <tietze.heiko at gmail.com>
diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx
index 927dae225462..e532fa415033 100644
--- a/chart2/source/controller/main/ElementSelector.cxx
+++ b/chart2/source/controller/main/ElementSelector.cxx
@@ -299,7 +299,7 @@ uno::Reference< awt::XWindow > SAL_CALL ElementSelectorToolbarController::create
if( pParent )
{
m_apSelectorListBox.reset( VclPtr<SelectorListBox>::Create( pParent, WB_DROPDOWN|WB_AUTOHSCROLL|WB_BORDER ) );
- ::Size aLogicalSize( 95, 160 );
+ ::Size aLogicalSize( 75, 160 );
::Size aPixelSize = m_apSelectorListBox->LogicToPixel(aLogicalSize, MapMode(MapUnit::MapAppFont));
m_apSelectorListBox->SetSizePixel( aPixelSize );
m_apSelectorListBox->SetDropDownLineCount( 5 );
More information about the Libreoffice-commits
mailing list