hi friends,
i am facing a strange problem with qmenubar. i am developing the mainwindow with a resolution of 13608768 . i created a menubar and altered with some stylesheet
Qt Code:
  1. QMenuBar { padding-left:-4px; spacing: 8px; background-color: qlineargradient(s);
  2. border-bottom-width: 1px;
  3. border-bottom-color: rgb(26,131,212);}
  4. QMenuBar::item {
  5. padding: 1px 4px;background: transparent; border-radius: 0px;
  6. }
  7. QMenuBar::item:selected {
  8. background: z);
  9. color:rgb(255,255,255);}
  10. QAction {spacing: 3px;}"
To copy to clipboard, switch view to plain text mode 

and from my screen resolution the qmenubar is coming perfect as normal.jpg
but when i tested the ui with bigger monitor
the qmenubar is coming like all the menuitem are formed as a drop down list at the right corner of the menubar
like this ExtentMenuBar.png

please hep me in solving the problem .