Unigine::WidgetHBox Class
Header: | #include <UnigineWidgets.h> |
Inherits: | WidgetVBox |
This class creates a single horizontal row container.
WidgetHBox Class
Members
static WidgetHBoxPtr create ( const Ptr<Gui> & gui, int x = 0, int y = 0 ) #
Constructor. Creates a horizontal box with given parameters and adds it to the specified GUI.Arguments
- const Ptr<Gui> & gui - GUI, to which the new box will belong.
- int x - Horizontal space between the widgets in the box and between them and the box border. This is an optional parameter.
- int y - Vertical space between the widgets in the box and between them and the box border. This is an optional parameter.
static WidgetHBoxPtr create ( int x = 0, int y = 0 ) #
Constructor. Creates a horizontal box with given parameters and adds it to the Engine GUI.Arguments
- int x - Horizontal space between the widgets in the box and between them and the box border. This is an optional parameter.
- int y - Vertical space between the widgets in the box and between them and the box border. This is an optional parameter.
Last update:
2021-04-09
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)