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. Customize icon size for branch icon in QTreeWidget and QMenuBar
Forum Updated to NodeBB v4.3 + New Features

Customize icon size for branch icon in QTreeWidget and QMenuBar

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 484 Views
  • 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.
  • H Offline
    H Offline
    HeFa
    wrote on last edited by
    #1

    I have not been able to change the size for the icon used for showing wether the branch is opened or closed in a QTreeWidget.
    I've tried both with width/height and icon-size but nothing happens. It's always the same size(very small) for the icon.

    The same is for an action on the menubar. The size seems to be fixed whatever I try in the stylesheet file.

    Simple sample project

    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