Kaydet (Commit) c6019d89 authored tarafından Abdulaziz A Alayed's avatar Abdulaziz A Alayed

fdo#79243 UI:fix preview in imageCorp tap in writer

Change-Id: If13cabc21d804c9383b26f7ee5a40800cacc76a5
üst cc25f70e
...@@ -491,8 +491,16 @@ IMPL_LINK( SvxGrfCropPage, CropHdl, const MetricField *, pField ) ...@@ -491,8 +491,16 @@ IMPL_LINK( SvxGrfCropPage, CropHdl, const MetricField *, pField )
m_pRightMF->SetValue( m_pRightMF->Normalize( nRight ), eUnit ); m_pRightMF->SetValue( m_pRightMF->Normalize( nRight ), eUnit );
} }
} }
m_pExampleWN->SetLeft(nLeft); if (Application::GetSettings().GetLayoutRTL())
m_pExampleWN->SetRight(nRight); {
m_pExampleWN->SetLeft(nRight);
m_pExampleWN->SetRight(nLeft);
}
else
{
m_pExampleWN->SetLeft(nLeft);
m_pExampleWN->SetRight(nRight);
}
if(bZoom) if(bZoom)
{ {
// scale stays, recompute width // scale stays, recompute width
......
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