Kaydet (Commit) 37fa4e78 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

HiDPI: TabBar resizer changes size depending on DPI scale factor

Change-Id: I36a6d22f87b0d96cdbdadd683cd3abeb12e28c77
üst 74d84c50
...@@ -167,8 +167,9 @@ ImplTabSizer::ImplTabSizer( TabBar* pParent, WinBits nWinStyle ) ...@@ -167,8 +167,9 @@ ImplTabSizer::ImplTabSizer( TabBar* pParent, WinBits nWinStyle )
: Window( pParent, nWinStyle & WB_3DLOOK ) : Window( pParent, nWinStyle & WB_3DLOOK )
, mnStartWidth(0) , mnStartWidth(0)
{ {
SetPointer( Pointer( POINTER_HSIZEBAR ) ); sal_Int32 nScaleFactor = GetDPIScaleFactor();
SetSizePixel( Size( 7, 0 ) ); SetPointer(Pointer(POINTER_HSIZEBAR));
SetSizePixel(Size(7 * nScaleFactor, 0));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment