新版本DX工厂创建

This commit is contained in:
2025-03-18 01:25:54 +08:00
parent 41ca0a4f66
commit 10f509bd4e
10 changed files with 415 additions and 184 deletions

View File

@@ -22,7 +22,7 @@ int main(int argc, char* argv[]) {
auto button = std::make_shared<mbutton>();
border->set_content(button)
.h_alignment(horizontal_alignment::stretch)
.h_alignment(horizontal_alignment::left)
.v_alignment(vertical_alignment::stretch)
.margin({ 10 });