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. Icon won't show in RoundButton
Qt 6.11 is out! See what's new in the release blog

Icon won't show in RoundButton

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 927 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.
  • ocgltdO Offline
    ocgltdO Offline
    ocgltd
    wrote on last edited by ocgltd
    #1
    This post is deleted!
    eyllanescE 1 Reply Last reply
    0
    • ocgltdO ocgltd

      This post is deleted!

      eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by
      #2

      @ocgltd change Layout.alignment: Qt.AlignHCenter to anchors.centerIn: parent

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      ocgltdO 1 Reply Last reply
      0
      • eyllanescE eyllanesc

        @ocgltd change Layout.alignment: Qt.AlignHCenter to anchors.centerIn: parent

        ocgltdO Offline
        ocgltdO Offline
        ocgltd
        wrote on last edited by
        #3

        @eyllanesc I managed to figure it out and I updated the question (before seeing your answer) but thanks for the answer.

        eyllanescE 1 Reply Last reply
        0
        • ocgltdO ocgltd

          @eyllanesc I managed to figure it out and I updated the question (before seeing your answer) but thanks for the answer.

          eyllanescE Offline
          eyllanescE Offline
          eyllanesc
          wrote on last edited by
          #4

          @ocgltd It seems strange what you indicate, to avoid these inconveniences is that you create a new post. Anyway it shows the content of the .qrc (open it with any text editor and copy the content that is an XML)

          If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

          1 Reply Last reply
          0
          • J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @ocgltd
            does your image show in a simple Image-Component ? Because Qt does not support all kinds of SVG formats only, IIRC; the "tiny" ones


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            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