comparison finch/libgnt/gntbox.c @ 18538:2e11d73c4ff1

Properly set the initial size of widgets.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 15 Jul 2007 02:38:09 +0000
parents 1cedd520cd18
children 9f7587b86b0d 44b4e8bd759b
comparison
equal deleted inserted replaced
18537:52f3e904a250 18538:2e11d73c4ff1
220 w = maxw; 220 w = maxw;
221 else 221 else
222 h = maxh; 222 h = maxh;
223 } 223 }
224 224
225 gnt_widget_confirm_size(wid, w, h);
225 gnt_widget_set_size(wid, w, h); 226 gnt_widget_set_size(wid, w, h);
226 } 227 }
227 228
228 reposition_children(widget); 229 reposition_children(widget);
229 } 230 }