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. Size of scrollbar in qlistWidget
Forum Updated to NodeBB v4.3 + New Features

Size of scrollbar in qlistWidget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 5.5k 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.
  • C Offline
    C Offline
    chikymanzanares
    wrote on last edited by
    #1

    I want to put a scroll bar bigger in my listWidget. I try using styleSheet, but It doesn't change the size

    @
    ui->listWidgetStudents->setStyleSheet("QScrollBar:horizontal {border: 2px solid green;background: cyan;height: 15px;margin: 0px 20px 0 20px;}");
    @

    [EDIT: code formatting, please wrap in @-tags, Volker]

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Don't spam! Duplicate of http://developer.qt.nokia.com/forums/viewthread/10325/ , closed.

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0

      • Login

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