Century Embedded Technologies Nano-X SDK and Developer's Guide | ||
---|---|---|
Prev | Appendix C. Enumeration Reference | Next |
The following constants define bits that can be used with Fl_Widget::align() to control the positioning of the label:
FL_ALIGN_CENTER - The label is centered (0).
FL_ALIGN_TOP - The label is top-aligned.
FL_ALIGN_BOTTOM - The label is bottom-aligned.
FL_ALIGN_LEFT - The label is left-aligned.
FL_ALIGN_RIGHT - The label is right-aligned.
FL_ALIGN_CLIP - The label is clipped to the widget.
FL_ALIGN_WRAP - The label text is wrapped as needed.
FL_ALIGN_TOP_LEFT
FL_ALIGN_TOP_RIGHT
FL_ALIGN_BOTTOM_LEFT
FL_ALIGN_BOTTOM_RIGHT
FL_ALIGN_LEFT_TOP
FL_ALIGN_RIGHT_TOP
FL_ALIGN_LEFT_BOTTOM
FL_ALIGN_RIGHT_BOTTOM
FL_ALIGN_INSIDE - 'or' this with other values to put label inside the widget.