Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Set size for Action icon

    QML and Qt Quick
    2
    3
    2153
    Loading More Posts
    • 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
      DimanNe last edited by

      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 Reply Quote 0
      • X
        Xander84 last edited by

        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 Reply Quote 0
        • D
          DimanNe last edited by

          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 Reply Quote 0
          • First post
            Last post