S
S
szlachcic2021-02-20 13:30:30
Windows Forms
szlachcic, 2021-02-20 13:30:30

How to auto-align text horizontally?

A control in the form of a label has a variable in itself and, accordingly, when it changes, its location also changes. How to assign it to some coordinate?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RealLazyCat, 2021-03-21
@RealLazyCat

I don't quite understand what exactly is the problem. the label has its own AutoSize, Anchor, TextAlign properties - adjust them according to your needs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question