From f325abe4e454f3c413ad91e6145b8a8c458c8758 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Feb 2003 11:48:43 +0000 Subject: [PATCH] use the current size, which will get capped by max/mins --- otk/widget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otk/widget.cc b/otk/widget.cc index 46b50cab..30d147c8 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -89,7 +89,7 @@ void Widget::show(bool children) _visible = true; if (_parent) _parent->calcDefaultSizes(); else { - resize(_min_size); + resize(_area.size()); } XMapWindow(**display, _window); update(); -- 2.45.2