25#ifndef TGUI_GROW_VERTICAL_LAYOUT_HPP
26#define TGUI_GROW_VERTICAL_LAYOUT_HPP
28#include <TGUI/Widgets/BoxLayoutRatios.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
47 using Ptr = std::shared_ptr<GrowVerticalLayout>;
48 using ConstPtr = std::shared_ptr<const GrowVerticalLayout>;
50 static constexpr const char StaticWidgetType[] =
"GrowVerticalLayout";
124 void updateWidgets()
override;
134 std::vector<Layout> m_widgetLayouts;
Abstract class for box layout containers.
Definition BoxLayout.hpp:40
Container that automatically positions children below each other.
Definition GrowVerticalLayout.hpp:45
Widget::Ptr clone() const override
Makes a copy of the widget if you don't know its exact type.
void removeAllWidgets() override
Removes all widgets that were added to the container.
static GrowVerticalLayout::Ptr copy(const GrowVerticalLayout::ConstPtr &layout)
Makes a copy of another layout.
Vector2f getInnerSize() const override
Returns the space available for widgets inside the container.
GrowVerticalLayout(const GrowVerticalLayout &)
Copy constructor.
GrowVerticalLayout(GrowVerticalLayout &&) noexcept
Move constructor.
std::shared_ptr< const GrowVerticalLayout > ConstPtr
Shared constant widget pointer.
Definition GrowVerticalLayout.hpp:48
std::shared_ptr< GrowVerticalLayout > Ptr
Shared widget pointer.
Definition GrowVerticalLayout.hpp:47
Class to store the left, top, width or height of a widget.
Definition Layout.hpp:102
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38
Helper class to create an AbsoluteOrRelativeValue object containing a relative value without using a ...
Definition AbsoluteOrRelativeValue.hpp:166