18#include <AUI/Util/AMetric.h>
31 explicit FixedSize(
const AMetric& side) : width(side), height(side) {}
42 Property(
const FixedSize& info) : mInfo(info) {
45 void applyFor(
AView* view)
override;
48 const auto& value()
const noexcept {
Stores dimensions in scalable units (dp, pt, etc...).
Definition AMetric.h:75
Base class of all UI objects.
Definition AView.h:78
Controls the fixed size of AView.
Definition FixedSize.h:26
Base class for all properties.
Definition IPropertyBase.h:50