* BUG: Button with AutoResize set correctly expand with their text.


git-svn-id: svn://localhost/gambas/trunk@3104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2010-08-13 19:19:10 +00:00
parent 9b08741c29
commit 0ec66f23e6

View file

@ -566,7 +566,6 @@ void MyPushButton::calcMinimumSize()
if (THIS->autoresize)
{
size = sizeHint();
setMinimumWidth(size.width());
CWIDGET_resize(THIS, size.width(), height());
setMinimumWidth(size.width());
}