Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 3 of 3
  1. #1
    Join Date
    December 2009
    Location
    Netherlands
    Posts
    153

    QMenu border, QAbstractItemView, QComboBox::drop-down

    Hello everyone.

    QMenu bug
    I tried putting another border on the QMenu instance. However, it still has a 1px black border. It also has a black background which you can't remove.

    Picture 1: http://imgur.com/zbBNp.png
    Code:
    QMenu 
    {
    	border-image: url('Styles/WoW - Cataclysm/background/context.png');
    	border-top: 20px transparent;
    	border-bottom: 12px transparent;
    	border-right: 30px transparent;
    	border-left: 10px transparent;
    	background-color: transparent;
    }
    The right top of the border picture is transparent! (It's not black). The background-color is transparent. Yet the QMenu has a black background behind the border image. There are no black backgrounds in my entire coding. (It doesn't show a black 1px border...?)

    Picture 2: http://imgur.com/Gd1sv.png
    Code:
    QMenu 
    {
    	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #5c5956, stop:1 #3d3b3a);
    	color: #d1cfcd;
    	border: 5px solid #4d4b48;
    	border-radius: 4px;
    }
    Not only is there no border-radius, there is also a black 1px border around the entire QMenu instance. There are NO black borders in my entire coding...

    AbstractItemView / QComboBox::drop-down
    The next thing.
    Picture 1: http://imgur.com/8HYgv.png
    For some weird reason, it shows a background color outside the border
    Code:
    QComboBox QAbstractItemView {
    	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #333333);
    	border: 1px solid #333333;
    	border-radius: 15px;
    }
    I put the QComboBox::drop-down and the QAbstractItemView both on a transparent background, but it didn't change anything.

    Picture 2: http://imgur.com/lCMQ4.png

    Code:
    QComboBox QAbstractItemView
    {
    	background: url('Styles/WoW - Cataclysm/background/abstract.png');
    	border: 1px solid #677180;
    	border-radius: 6px;
    }
    It doesn't show a border-radius. The background Image is a semi-transparent image. However, behind the actual image It still shows a background-color. On really rare ocassions this drop-down list IS OPAQUE! It works perfectly as it should, but for some weird reason, most of the times this is not the case.

    Random stuff
    The QWidget::pane doesn't show a border when you add one! (Both the Treeview and Infoframe have a 1px solid transparent border).

    You are unable to change the color of the text in the Options screen (QDialog(?)).

    You are unable to turn off the Alternating row colors in the AppScanner.

  2. #2
    Join Date
    December 2009
    Location
    Netherlands
    Posts
    153
    Apparantly QlistView is also part of the combobox drop down.
    That means it consists out of at least 4 different instances. And somehow, they all overlap. This really should be changed I think

  3. #3
    Join Date
    December 2009
    Location
    Netherlands
    Posts
    153
    Anyoneeeeeeeeeeeee??.....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SKINNING HELP - Adding a border to QMenu
    By ThexKezza in forum Skins / Icon & Sound Packs
    Replies: 2
    Last Post: July 10th, 2013, 06:05 AM
  2. Add a border in tpl Files
    By Timo92 in forum Skins / Icon & Sound Packs
    Replies: 0
    Last Post: February 24th, 2011, 07:46 PM
  3. Help with Identifier in the QAbstractItemView
    By Hesgone in forum Skins / Icon & Sound Packs
    Replies: 0
    Last Post: June 17th, 2010, 11:58 PM
  4. Banner: No border when background is set
    By Beatz in forum Skins / Icon & Sound Packs
    Replies: 1
    Last Post: January 23rd, 2010, 09:25 PM
  5. remove border/frame
    By {DoG}RebelWolf{CA} in forum Skins / Icon & Sound Packs
    Replies: 1
    Last Post: January 23rd, 2010, 12:38 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •