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

HiDPI: ViewLayout statusbar - scale icons by both dimensions

Change-Id: Ibd8417e0f3daf17d94b5c13e4efcab20568e2153
üst 8a009858
...@@ -61,8 +61,7 @@ SwViewLayoutControl::SwViewLayoutControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, ...@@ -61,8 +61,7 @@ SwViewLayoutControl::SwViewLayoutControl( sal_uInt16 _nSlotId, sal_uInt16 _nId,
for (int i = 0; i < 6; i++) for (int i = 0; i < 6; i++)
{ {
BitmapEx b = arr[i].GetBitmapEx(); BitmapEx b = arr[i].GetBitmapEx();
//Don't scale width, no space. b.Scale(rStb.GetDPIScaleFactor(), rStb.GetDPIScaleFactor(), BMP_SCALE_FAST);
b.Scale(1.0, rStb.GetDPIScaleFactor(), BMP_SCALE_FAST);
arr[i] = Image(b); arr[i] = Image(b);
} }
......
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