Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    2
    3
    771
    Loading More Posts
    • 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
      Opacity last edited by

      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 Reply Quote 0
      • Chris Kawa
        Chris Kawa Moderators last edited by

        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 Reply Quote 0
        • O
          Opacity last edited by

          [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 Reply Quote 0
          • First post
            Last post