ImageLabel.this

Defines a label+image combo used by some widgets.

If you provide just a text label, that is all the widget will try to display. Or just an image will display just that. If you provide both, it may display both text and image side by side or display the image and offer text on an input event depending on the widget.

  1. this(string label, TextAlignment alignment)
  2. this(string label, MemoryImage image, TextAlignment alignment)
    struct ImageLabel
    this
    (
    string label
    ,
    MemoryImage image
    ,
    TextAlignment alignment = TextAlignment.Center
    )
  3. this(MemoryImage image, TextAlignment alignment)
  4. this(string label, MemoryImage image, int displayFlags, TextAlignment alignment)

Meta

History

The alignment parameter was added on September 27, 2021