Kaydet (Commit) c7658a1e authored tarafından Andras Timar's avatar Andras Timar

tdf#91467 FixedText vertical orientation restored

Change-Id: Ic4b74d769ee4370c5182c9921483c7ec0b2c7a94
üst c15b96a4
...@@ -546,7 +546,7 @@ void FixedLine::ImplDraw(vcl::RenderContext& rRenderContext, bool bLayout) ...@@ -546,7 +546,7 @@ void FixedLine::ImplDraw(vcl::RenderContext& rRenderContext, bool bLayout)
long nWidth = rRenderContext.GetTextWidth(aText); long nWidth = rRenderContext.GetTextWidth(aText);
rRenderContext.Push(PushFlags::FONT); rRenderContext.Push(PushFlags::FONT);
vcl::Font aFont(rRenderContext.GetFont()); vcl::Font aFont(rRenderContext.GetFont());
aFont.SetOrientation(00); aFont.SetOrientation(900);
SetFont(aFont); SetFont(aFont);
Point aStartPt(aOutSize.Width() / 2, aOutSize.Height() - 1); Point aStartPt(aOutSize.Width() / 2, aOutSize.Height() - 1);
if (nWinStyle & WB_VCENTER) if (nWinStyle & WB_VCENTER)
......
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