Make the LEL layout look perty.
This commit is contained in:
parent
9e6038dd7d
commit
87149af4c7
2 changed files with 8 additions and 6 deletions
|
@ -125,6 +125,8 @@ for(auto& [name, cell] : $gui.cells()) {
|
|||
$gui.set<Rectangle>(id, {});
|
||||
$gui.set<Label>(id, { guecs::to_wstring(name) });
|
||||
}
|
||||
|
||||
$gui.init(); // must be called when done
|
||||
```
|
||||
|
||||
You'll notice I have `guecs::to_wstring(name)` which uses the forbidden unicode conversion `codecvt`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue