Can I combine align layouts in Delphi? -
I have would like to create a label that all the spaces, and centered text at the same time.
// firemonkey code, // cause compile-time error "E2010 Incompatible types: 'TAlignLayout' and 'set'" greed. Alliance: = [TAlignLayout.alClient, TAlignLayout.alCenter]; I have also seen for a suitable stability, but with no result. Perhaps someone knows how I can make a label written?
It seems that you are very close to just the TAlignLayout.alClient < Try setting the code> align . Then set TextAlign to TTextAlign.taCenter .
Align section of the TControl property and comes in a control with a visual aspect to play it at any time.
TextAlign only property TTextControl involved control coming down, like TLabel . (In addition: descends from TTextControl TControl ).
Comments
Post a Comment