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

Row layout using SnapLayouter.

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

Base classes

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

Constructors, destructors, conversion operators

BasicSnapLayoutRow(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>
BasicSnapLayoutRow(const T&) deleted
Conversion from another specialized layout is not allowed.

Function documentation

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

Construct from an unspecialized layout.

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