OverviewFelgo 2 Support (Qt 5) › Align button label to right of icon

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #16522


    Hi All,

    Is it possible to align the label of an AppButton to the right of an icon, rather than underneath?

    Many thanks!


    Felgo Team


    The AppButton is only designed to display the text underneath the icon if both icon and text are used.

    Still, you could use the icon property to display both an icon and additional text:

        AppButton {
          icon: IconType.home + " Text"

    The drawback of this workaround is that the icon font settings also apply to the text then.

    Günther from Felgo



    hi every body
    <h3 class=”headline”>Align button label to right of icon  , but the font of this text how can i change it, when i use this way</h3>

    icon: + qsTr(“Login”)
    iconSize: dp(20)
    FontLoader { id: btFont; source: “../../assets/fonts/Rakoon_PersonalUse.ttf” }

    textSize: dp(20)
    flat: false

    it refuse to be manipulated, unless i use text : qsTr(“Login”)


    Felgo Team


    it is not possible to change the font, because the icon requires the icon font to be used.

    AppButton does not support mixing an icon with a custom font text using the above workaround.


Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support