template<class UserInterface>
Magnum::Ui::BasicSnapLayoutRowTop class new in Git master

Top-aligned row layout using SnapLayouter.

Places children in a row from left to right, aligned to the top. Meant to be used through concrete a typedef such as SnapLayoutRowTop.

Base classes

template<class UserInterface>
class BasicSnapLayout<UserInterface> new in Git master
Layout using SnapLayouter.

Constructors, destructors, conversion operators

BasicSnapLayoutRowTop(const BasicSnapLayout<UserInterface>& layout)
Construct from an unspecialized layout.
template<class T, typename std::enable_if<std::is_base_of<BasicSnapLayout<UserInterface>, T>::value, int>::type = 0>
BasicSnapLayoutRowTop(const T&) deleted
Conversion from another specialized layout is not allowed.

Function documentation

template<class UserInterface _1>
Magnum::Ui::BasicSnapLayoutRowTop<_1>::BasicSnapLayoutRowTop(const BasicSnapLayout<UserInterface>& layout)

Construct from an unspecialized layout.

Calls setChildSnap() with Snap::TopRight|Snap::InsideY and addFlags() with SnapLayoutFlag::PropagateMarginX and PropagateMarginY unless IgnoreOverflowX and IgnoreOverflowY is already specified in given direction.