From 3b7e3d0ca26b526c8c4e6fc335085ac28d63bbab Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 2 Oct 2018 00:15:52 +0800 Subject: Make button use border delegate. --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4f711208..e11fbbe0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -143,12 +143,20 @@ int APIENTRY wWinMain( window.AddChild(layout); */ + /* window.AddChild( CreateWithLayout(LayoutSideParams::Exactly(200), LayoutSideParams::Content(), std::initializer_list{ CreateWithLayout(LayoutSideParams::Stretch(), LayoutSideParams::Content()) } )); + */ + + window.AddChild( + Button::Create( + {TextBlock::Create(L"Button")} + ) + ); window.Show(); -- cgit v1.2.3