From 0ec66f23e660535ae762679d6df3e360d166cbc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 13 Aug 2010 19:19:10 +0000 Subject: [PATCH] [GB.QT4] * BUG: Button with AutoResize set correctly expand with their text. git-svn-id: svn://localhost/gambas/trunk@3104 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.qt4/src/CButton.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gb.qt4/src/CButton.cpp b/gb.qt4/src/CButton.cpp index 5b7f94723..51a5496f0 100644 --- a/gb.qt4/src/CButton.cpp +++ b/gb.qt4/src/CButton.cpp @@ -566,7 +566,6 @@ void MyPushButton::calcMinimumSize() if (THIS->autoresize) { size = sizeHint(); - setMinimumWidth(size.width()); CWIDGET_resize(THIS, size.width(), height()); setMinimumWidth(size.width()); }