DLabel
From Dabo Wiki
Jump to navigationJump to search
dLabel is the basic control for displaying a bit of non-editable text.
Some of the more useful properties for dLabel
- Caption - (str): The text of the label.
- AutoResize - (bool): Specifies whether the length of the caption determines the size of the label. This cannot be
TrueifWordWrapis also set toTrue. Default=True. - WordWrap - (bool): When
True, theCaptionis wrapped to theWidth. Be sure to make sure that there is sufficientHeightto fit the wrapped text lines. IfWordWrapis set toTrue,AutoResizemust beFalse. Default=False - FontFace - (str): the name of the face of the displayed font for the label.
- FontSize - (int): Size of the label's font in points.
- FontBold - (bool): Controls whether the label is displayed in bold text.
- FontItalic - (bool): Controls whether the label is displayed in italic text.
See the Dabo Class Documentation for an exhaustive documentation of this control's Properties, Events and Methods. (Note that this documentation is no longer live, but it's still available via the Internet Archive).