Hi, I donot find any "Margin" property in designer for QTabWidget. I am using QT Open Source Edition 4.1.2 However I see setContentsMargins <outbind://18/qwidget.html#setContentsMargins> ( int, int, int, int ) function in documentation. Is this what you are talking about? Thanks for reply
________________________________ From: Philippe BERNERY [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 10:32 AM To: Jaya Meghani Cc: [email protected] Subject: Re: [Wengophone-devel] TabWidget Border Le 14 déc. 06 à 16:26, Jaya Meghani a écrit : Hi, I want to know how to remove the border around the QTabWidget. I want to remove border from WengoPhoneWindow.ui For Example with widgets inheriting from QFrame you can set QFrame::NoFrame. I tried to derive a class from QTabWidget and override the PaintEvent method to draw rect around the TabWidget with QPalette::Window color. But not satisfied with results. Please let me know if there is any better way of doing it? You should be able to do that by setting a margin of 0 in QtDesigner -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org
_______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
