26#ifndef TGUI_VERTICAL_LAYOUT_HPP
27#define TGUI_VERTICAL_LAYOUT_HPP
29#include <TGUI/Widgets/BoxLayoutRatios.hpp>
43 using Ptr = std::shared_ptr<VerticalLayout>;
44 using ConstPtr = std::shared_ptr<const VerticalLayout>;
46 static constexpr const char StaticWidgetType[] =
"VerticalLayout";
56 VerticalLayout(
const char* typeName = StaticWidgetType,
bool initRenderer =
true);
85 void updateWidgets()
override;
Abstract class for box layout containers.
Definition: BoxLayoutRatios.hpp:40
Class to store the position or size of a widget.
Definition: Layout.hpp:284
Container that automatically resizes children to fit the entire available space between children.
Definition: VerticalLayout.hpp:41
std::shared_ptr< const VerticalLayout > ConstPtr
Shared constant widget pointer.
Definition: VerticalLayout.hpp:44
Widget::Ptr clone() const override
Makes a copy of the widget if you don't know its exact type.
std::shared_ptr< VerticalLayout > Ptr
Shared widget pointer.
Definition: VerticalLayout.hpp:43
static VerticalLayout::Ptr create(const Layout2d &size={"100%", "100%"})
Creates a new vertical layout widget.
static VerticalLayout::Ptr copy(const VerticalLayout::ConstPtr &layout)
Makes a copy of another layout.
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:36