Menu

#663 Floating control uses wrong palette color

stable
closed-fixed
nobody
None
5
2016-01-15
2015-01-02
sidius
No

AutohideWidget setBackgroundRole(QPalette::Base) causes floating control to be white (screenshot: http://i.imgur.com/HAbxrXw.png).

As per Qt docs: "QPalette:Base - Used mostly as the background color for text entry widgets, but can also be used for other painting - such as the background of combobox drop down lists and toolbar handles. It is usually white or another light color."

Since floating control is not a text entry or a combobox and should use general background color I propose to use QPalette::Window to achieve something like this: http://i.imgur.com/h68r2Qy.png

1 Attachments

Discussion

  • Ricardo Villalba

    Fixed in svn r6647.

     
  • Ricardo Villalba

    • status: open --> closed-fixed
     

Log in to post a comment.