mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-10 18:34:21 +02:00
Save name label position and alignment
This commit is contained in:
@@ -18,7 +18,8 @@ PreviewView::PreviewView():
|
|||||||
openButton = new ui::Button(ui::Point(0, Size.Y-16), ui::Point(100, 16), "Open");
|
openButton = new ui::Button(ui::Point(0, Size.Y-16), ui::Point(100, 16), "Open");
|
||||||
AddComponent(openButton);
|
AddComponent(openButton);
|
||||||
|
|
||||||
saveNameLabel = new ui::Label(ui::Point(0, 0), ui::Point(50, 50), "");
|
saveNameLabel = new ui::Label(ui::Point(5, (YRES/2)+5), ui::Point(100, 16), "");
|
||||||
|
saveNameLabel->SetAlignment(AlignLeft, AlignBottom);
|
||||||
AddComponent(saveNameLabel);
|
AddComponent(saveNameLabel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user