mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2024-12-29 13:03:40 +01:00
jscene: give a default layout
This commit is contained in:
parent
7b8070f02c
commit
a2129f1ed2
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ jscene *jscene_create(int x, int y, int w, int h, void *parent)
|
||||||
|
|
||||||
jwidget_init(&s->widget, jscene_type_id, parent);
|
jwidget_init(&s->widget, jscene_type_id, parent);
|
||||||
jwidget_set_fixed_size(s, w, h);
|
jwidget_set_fixed_size(s, w, h);
|
||||||
|
jlayout_set_vbox(s);
|
||||||
|
|
||||||
s->x = x;
|
s->x = x;
|
||||||
s->y = y;
|
s->y = y;
|
||||||
|
|
Loading…
Reference in a new issue