mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
improve parsing error alert
This commit is contained in:
parent
fe1ac69b57
commit
18d473b673
4 changed files with 42 additions and 28 deletions
|
|
@ -29,7 +29,7 @@ void guiutil::alert(GUI* gui, const std::wstring& text, const runnable& on_hidde
|
|||
|
||||
auto label = std::make_shared<Label>(text);
|
||||
label->setMultiline(true);
|
||||
label->setSize(glm::vec2(1, 80));
|
||||
label->setSize(glm::vec2(1, 90));
|
||||
panel->add(label);
|
||||
panel->add(std::make_shared<Button>(
|
||||
langs::get(L"Ok"), glm::vec4(10.f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue