mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Add size(width, height) decorator.
This commit is contained in:
@@ -18,8 +18,11 @@ using Color = ftxui::screen::Color;
|
||||
Element vbox(Children);
|
||||
Element hbox(Children);
|
||||
Element dbox(Children);
|
||||
|
||||
// -- Flexibility --
|
||||
Element filler();
|
||||
Element flex(Element);
|
||||
Decorator size(size_t width, size_t height);
|
||||
|
||||
// --- Widget --
|
||||
Element text(std::wstring text);
|
||||
|
Reference in New Issue
Block a user