c++ - Groupbox alignment of title in qt doesn`t work. Why? -


i created simple mainwindow form in qt 4.8.4 designer, in preview title placed in top left corner should be, when use form in simple program writen in eclipse qt plugin, title placed straight @ top top center not right. when use ui.groupbox->setalignment(qt::alignright); or left before show(), nothing happen title stays @ center. may cause this? program minimalistic , there group box , nothing else.

have tried setting style sheet this:

ui->groupbox->setstylesheet("qgroupbox::title {subcontrol-position: right;}"); 

Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -