How to make RightToLeftLayout work for controls inside GroupBoxes and Panels?

前端 未结 4 1946
执念已碎
执念已碎 2020-12-21 00:22

According to MSDN

form.RightToLeftLayout = True;
form.RightToLeft = ifWeWantRTL() ? RightToLeft.True : RightToLeft.False;

is enough to mir

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-21 01:08

    According to the article Visual Studio 2005: Developing Arabic Windows Forms applications I am left with just two alternatives

    • continue adding TableLayoutPanels here and there
    • reposition child controls on RTL change myself

    It is a real pity that it has to be that way.

提交回复
热议问题