jscene: give a default layout

This commit is contained in:
Lephenixnoir 2024-09-05 09:03:03 +02:00
parent 7b8070f02c
commit a2129f1ed2
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -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_set_fixed_size(s, w, h);
jlayout_set_vbox(s);
s->x = x;
s->y = y;