25#ifndef TGUI_VERTICAL_LAYOUT_HPP
26#define TGUI_VERTICAL_LAYOUT_HPP
28#include <TGUI/Widgets/BoxLayoutRatios.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
42 using Ptr = std::shared_ptr<VerticalLayout>;
43 using ConstPtr = std::shared_ptr<const VerticalLayout>;
45 static constexpr const char StaticWidgetType[] =
"VerticalLayout";
54 VerticalLayout(
const char* typeName = StaticWidgetType,
bool initRenderer =
true);
80 void updateWidgets()
override;
Abstract class for box layout containers.
Definition BoxLayoutRatios.hpp:39
Class to store the position or size of a widget.
Definition Layout.hpp:323
Container that automatically resizes children to fit the entire available space between children.
Definition VerticalLayout.hpp:40
std::shared_ptr< const VerticalLayout > ConstPtr
Shared constant widget pointer.
Definition VerticalLayout.hpp:43
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:42
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:38