Is it possible to get rid of these ugly context menu borders when using qss to style your application?



  • Forgive me if this is a dumb question, but while working on styling a project of mine I noticed that I had these ugly borders around context menus...
    !http://puu.sh/9qdbM/6b20f56965.png(Ugly context menu border)!

    Does anyone know whether or not it's possible to "fix" this? If so could you throw a bit of advice over this way? Thank you.


  • Moderators

    What stylesheet do you use for QMenu? Make sure you haven't set margin or border, as by default if you set only background color no frame is present.



  • [quote author="Chris Kawa" date="1402598094"]What stylesheet do you use for QMenu? Make sure you haven't set margin or border, as by default if you set only background color no frame is present.[/quote]
    Well it's a stylesheet of my own, but thanks for pointing that out.
    I accidentally set a border I didn't want... I suppose that's what I get for staying up working on something until 5:00 AM haha. I can't believe I missed that though.

    Well, I'm a derp. Thank you. xD


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.