diff options
Diffstat (limited to 'iup/src/iup_sbox.c')
-rwxr-xr-x | iup/src/iup_sbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iup/src/iup_sbox.c b/iup/src/iup_sbox.c index 5a71d33..9998481 100755 --- a/iup/src/iup_sbox.c +++ b/iup/src/iup_sbox.c @@ -57,6 +57,7 @@ static void iSboxSaveDimension(Ihandle* ih, int w, int h) { ih->data->w = w; ih->data->h = h; + iupLayoutSetMinMaxSize(ih, &(ih->data->w), &(ih->data->h)); } static void iSboxAddDecorOffset(Ihandle* ih, int *x, int *y) |