Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Set size for Action icon

Set size for Action icon

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.4k 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.
  • D Offline
    D Offline
    DimanNe
    wrote on last edited by
    #1

    Is there any way to set size (as it could be made for "Image":http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-image.html) for icon in "Action":http://qt-project.org/doc/qt-5.1/qtquickcontrols/qml-qtquick-controls1-action.html?

    If no, why, and how can I workaround it?

    1 Reply Last reply
    0
    • X Offline
      X Offline
      Xander84
      wrote on last edited by
      #2

      I don't think you can set the icon size, because the Action itself has no UI element and therefore no size at all.
      It depends where you are using the action to display the icon, you have to set the size there (if possible).

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DimanNe
        wrote on last edited by
        #3

        I am using Action in ToolButton / Button, but it seems it also does not provide any way to specify icon size...

        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