26#ifndef TGUI_VERTICAL_LAYOUT_HPP
27#define TGUI_VERTICAL_LAYOUT_HPP
29#include <TGUI/Widgets/BoxLayoutRatios.hpp>
43 typedef std::shared_ptr<VerticalLayout>
Ptr;
44 typedef std::shared_ptr<const VerticalLayout>
ConstPtr;
54 VerticalLayout(
const char* typeName =
"VerticalLayout",
bool initRenderer =
true);
83 void updateWidgets()
override;
91 return std::make_shared<VerticalLayout>(*
this);
Abstract class for box layout containers.
Definition BoxLayoutRatios.hpp:40
Class to store the position or size of a widget.
Definition Layout.hpp:262
Container that automatically resizes children to fit the entire available space between children.
Definition VerticalLayout.hpp:41
std::shared_ptr< VerticalLayout > Ptr
Shared widget pointer.
Definition VerticalLayout.hpp:43
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.
Definition VerticalLayout.hpp:89
static VerticalLayout::Ptr create(const Layout2d &size={"100%", "100%"})
Creates a new vertical layout widget.
static VerticalLayout::Ptr copy(ConstPtr layout)
Makes a copy of another layout.
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:36