From 5566eddd0552a7894091dce6ea2bfbd1a059d665 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Thu, 12 May 2011 11:12:19 +0200 Subject: [PATCH] Remove sizegrip on sliding sheets on osx --- src/delegateconfigwrapper.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/delegateconfigwrapper.h b/src/delegateconfigwrapper.h index 162f5c29c..463261deb 100644 --- a/src/delegateconfigwrapper.h +++ b/src/delegateconfigwrapper.h @@ -42,6 +42,12 @@ public: v->addWidget( buttons ); setLayout( v ); + +#ifdef Q_OS_MAC + setSizeGripEnabled( false ); + setMinimumSize( sizeHint() ); + setMaximumSize( sizeHint() ); // to remove the resize grip on osx this is the only way +#endif } public slots: void closed( QAbstractButton* b )