[NOT READY]: unnecessary list style combo scrollbar / radio list becomes check list

This commit is contained in:
Zihan Chen
2017-10-09 08:57:30 -07:00
parent 50fe26e8ac
commit d391599329
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -3,13 +3,13 @@
void GuiMain()
{
GuiWindow* window = g::NewWindow();
auto window = new GuiWindow(theme::ThemeName::Window);
window->SetText(L"Hello, world!");
window->SetClientSize(Size(480, 320));
window->GetBoundsComposition()->SetPreferredMinSize(Size(480, 320));
window->MoveToScreenCenter();
GuiControl* label = g::NewLabel();
auto label = new GuiLabel(theme::ThemeName::Label);
label->SetText(L"Welcome to GacUI Library!");
{
FontProperties font;
Binary file not shown.
@@ -17,15 +17,13 @@ using presentation::theme::*;
func CreateMainWindow() : Window*
{
var theme = ITheme::GetCurrentTheme();
var window = new Window*(theme.CreateWindowStyle());
var window = new Window*(ThemeName::Window);
window.Text = "Hello, world!";
window.ClientSize = {x:480 y:320};
window.BoundsComposition.PreferredMinSize = {x:480 y:320};
window.MoveToScreenCenter();
var label = new Label*(theme.CreateLabelStyle());
var label = new Label*(ThemeName::Label);
label.Text = "Welcom to GacUI Library!";
label.Font = {fontFamily:"Segoe UI" size:32};
window.AddChild(label);