Skip to content

ass::Sizing#

Determines sizing rules of a background texture (BackgroundImage).

Header:#include <AUI/ASS/Property/BackgroundImage.h>
CMake:aui_link(my_target PUBLIC aui::views)

Examples#

examples/ui/views/src/ExampleWindow.cpp

Views Example - All-in-one views building example.

                                    }
                                }),
                            _new<ASpacerExpanding>(),
                          },
                          AUI_DECLARATIVE_FOR(i, *state->colors, AWordWrappingLayout) {
                              return Horizontal {
                                  _new<ALabel>(i.toString()) AUI_WITH_STYLE {
                                      TextColor { i.readableBlackOrWhite() },
                                  }
                              } AUI_WITH_STYLE {