How to make a shortcut and text box beautiful when resizing a window?

I have a label and a text box in my Winform. This is one line.

in

I want to make the text box always fill the available space between the label and the right border of the container, even when the window is resized

The label is set in AutoSize because it has a different width in different languages.

I tried the stream layout and I also tried various dock / anchor combinations in both elements, but still can't get it working. If there is no simple solution (besides the changing size of software coding), is there a less optimal solution? Thank.

+5
source share
2 answers

, , :

... , ... ( -) , ,

, (, )

+5

. . -. - ​​ .

+1

All Articles