问题
I have a winforms UserControl
(UC) with a TableLayoutPanel
(TLP). This panel has 2 columns and 1 row and is docked to fill the whole UC. Inside each column in the TLP I have a GroupBox
, which is also set to dock.Fill
. Last I have a ListView
inside each group box which is also docked to fill.
I have list view A in the left column and list view B in the right column. I have tested my application on several computers without any problems. But on one computer list views get switched, so they are displayed: B | A instead of A | B
Does anybody have an idea to what could be causing this.
I apologize if the explanation is fuzzy or this is some trivial thing, I just never experienced this before.
回答1:
Try make form property RightToLeft = true
. I tested this and succeeded.
来源:https://stackoverflow.com/questions/20542888/listviews-switch-places