use the current size, which will get capped by max/mins

This commit is contained in:
Dana Jansens 2003-02-16 11:48:43 +00:00
parent 33e87b3969
commit f325abe4e4

View file

@ -89,7 +89,7 @@ void Widget::show(bool children)
_visible = true; _visible = true;
if (_parent) _parent->calcDefaultSizes(); if (_parent) _parent->calcDefaultSizes();
else { else {
resize(_min_size); resize(_area.size());
} }
XMapWindow(**display, _window); XMapWindow(**display, _window);
update(); update();