GUI scrollbar updates (#447)

This commit is contained in:
Turánszki János
2022-05-19 22:42:49 +02:00
committed by GitHub
parent 782c326652
commit f7d28b1127
28 changed files with 508 additions and 172 deletions
+2 -2
View File
@@ -12,14 +12,14 @@ void SpringWindow::Create(EditorComponent* editor)
SetSize(XMFLOAT2(460, 200));
float x = 150;
float y = 10;
float y = 0;
float siz = 200;
float hei = 18;
float step = hei + 2;
createButton.Create("Create");
createButton.SetTooltip("Create/Remove Spring Component to selected entity");
createButton.SetPos(XMFLOAT2(x, y += step));
createButton.SetPos(XMFLOAT2(x, y));
createButton.SetSize(XMFLOAT2(siz, hei));
AddWidget(&createButton);