Results 1 to 2 of 2

Thread: How do i style the bottom-right corner of a ScrollArea?

  1. #1
    Join Date
    Jan 2013
    Posts
    25
    Qt products
    Qt4
    Platforms
    Windows

    Default How do i style the bottom-right corner of a ScrollArea?

    scrollarea.jpg

    How do i style this white square in a scroll area?

    I was looking for something similar to the way you style the corner of a table
    Qt Code:
    1. QTableView QTableCornerButton::section {
    2. background: red;
    3. border: 2px outset red;
    4. }
    To copy to clipboard, switch view to plain text mode 

    But i can't find the name of the selector or psuedo-class for this item.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How do i style the bottom-right corner of a ScrollArea?

    That's the corner widget, see QAbstractScrollArea::cornerWidget().

    Cheers,
    _

Similar Threads

  1. Help me about QGridLayout and ScrollArea
    By homerux in forum Newbie
    Replies: 3
    Last Post: 12th August 2013, 01:11
  2. QListWidget ScrollArea Style
    By deepal_de in forum Qt Programming
    Replies: 0
    Last Post: 10th June 2011, 07:48
  3. scrollArea
    By skizzik in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2011, 13:55
  4. ItemViews in ScrollArea
    By SElsner in forum Newbie
    Replies: 3
    Last Post: 5th June 2010, 00:59
  5. Replies: 7
    Last Post: 15th November 2007, 18:19

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.