forked from pyrite-dev/milsko
fix
This commit is contained in:
parent
0ca7f6ed8a
commit
0daa527b1d
1 changed files with 4 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ static void layout(MwWidget handle) {
|
|||
int s = MwGetInteger(handle->children[i], MwNfixedSize);
|
||||
if(n == MwDEFAULT) n = 1;
|
||||
|
||||
if(handle->children[i]->destroyed) continue;
|
||||
|
||||
if(s != MwDEFAULT) {
|
||||
sz -= s + Margin;
|
||||
} else {
|
||||
|
|
@ -60,6 +62,8 @@ static void layout(MwWidget handle) {
|
|||
int wsz;
|
||||
if(n == MwDEFAULT) n = 1;
|
||||
|
||||
if(handle->children[i]->destroyed) continue;
|
||||
|
||||
if(s != MwDEFAULT) {
|
||||
wsz = s;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue