Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is it possible to get rid of these ugly context menu borders when using qss to style your application?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 934 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Opacity
    wrote on 12 Jun 2014, 12:56 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on 12 Jun 2014, 18:34 last edited by
      #2

      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.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Opacity
        wrote on 12 Jun 2014, 23:05 last edited by
        #3

        [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

        1 Reply Last reply
        0

        3/3

        12 Jun 2014, 23:05

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved