PDA

View Full Version : groupBox border problem??



SwanseaLover
5th May 2013, 06:52
hello

how to set the the borders in group box visible ??

i tried groupBox->setFlat(true);

but still the borders doesn't show up?

is there a way to do that???

ChrisW67
5th May 2013, 23:52
A QGroupBox has a border by default in every theme I've seen.
http://qt-project.org/doc/qt-4.8/gallery.html
http://qt-project.org/doc/qt-5.0/qtwidgets/gallery.html

Perhaps you could let us know what version of Qt, what operating system, what style...
Perhaps you could post a complete, compilable example demonstrating the problem.

bciuca
20th May 2013, 09:42
I have experienced the same issue. I am using Qt Desktop Components for Qt 4.8.4 and Windows 7 x64.

What I did notice was that when using a Windows Classic theme, the border is visible. I have experienced other rendering issues but it is off topic (for the curious http://qt-project.org/forums/viewthread/27956/).