forked from pyrite-dev/milsko
things
This commit is contained in:
parent
37fae993b9
commit
89911082ed
9 changed files with 160 additions and 18 deletions
|
|
@ -15,6 +15,7 @@ static int wcreate(MwWidget handle) {
|
|||
MwSetInteger(handle, MwNpadding, 0);
|
||||
MwSetInteger(handle, MwNhasBorder, 0);
|
||||
MwSetInteger(handle, MwNinverted, 1);
|
||||
MwSetInteger(handle, MwNwaitLayout, 0);
|
||||
|
||||
b->layout = 0;
|
||||
|
||||
|
|
@ -116,7 +117,7 @@ static void children_prop_change(MwWidget handle, MwWidget child, const char* ke
|
|||
static void tick(MwWidget handle) {
|
||||
MwBox b = handle->internal;
|
||||
|
||||
if(b->layout) {
|
||||
if(b->layout && !MwGetInteger(handle, MwNwaitLayout)) {
|
||||
layout(handle);
|
||||
|
||||
b->layout = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue