布局修改
This commit is contained in:
@@ -22,8 +22,8 @@ int main(int argc, char* argv[]) {
|
||||
auto button = std::make_shared<mbutton>();
|
||||
|
||||
border->set_content(button)
|
||||
.h_alignment(horizontal_alignment::center)
|
||||
.v_alignment(vertical_alignment::center)
|
||||
.h_alignment(horizontal_alignment::stretch)
|
||||
.v_alignment(vertical_alignment::bottom)
|
||||
.margin({ 20 });
|
||||
|
||||
app.run();
|
||||
|
||||
Reference in New Issue
Block a user