use the current size, which will get capped by max/mins
This commit is contained in:
parent
33e87b3969
commit
f325abe4e4
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue