Results 1 to 1 of 1

Thread: qss + QScrollBar background issue

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default qss + QScrollBar background issue

    Hi,

    for QTextBrowsers I have defined "border-radius: 8px;". So I have to customize the scroll bars with transparent png's. But where the images are transparent there is still a other color which hides the border (-> see image).

    I have set all entries in the QPallete to alpha = 0%, but there is still these color under the transparent image. How could I remove this color, to set the border visible?

    Relevant qss-settings for the arrows:
    Qt Code:
    1. QScrollBar::sub-line:vertical
    2. {
    3. background: rgba(255, 0, 0, 0%);
    4. }
    5. QScrollBar::add-line:vertical
    6. {
    7. background: rgba(255, 0, 0, 100%);
    8. }
    To copy to clipboard, switch view to plain text mode 


    Thanks,
    Lykurg.
    Attached Images Attached Images

Similar Threads

  1. background colour
    By kw in forum Qt Programming
    Replies: 6
    Last Post: 11th April 2006, 00:44
  2. Replies: 1
    Last Post: 5th April 2006, 16:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.