Problem: control position arrangement, is right aligned, but due to run the program, the Text content change after the character length is different, lead to the right side is not aligned, or left alignment, how to set up?
CodePudding user response:
General processing methods: one is fixed beyond the content length with...Or set beyond the length of the word wrap
CodePudding user response:
WinForm TableLayoutPanel layoutCodePudding user response:
Set the Label Anchor attribute to align right,CodePudding user response:
Thank you, I find a way,Inside the label attribute AutoSize flase instead, TextAlign MiddleRight instead, the Size attribute set y the normal Settings, x coordinate to fill a few bigger, can has been set up to the border of the interface, text out interface boundary)
So that you can realize the labe right alignment, text changes, character to left to increase,