<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Icon Font glyph in ImageButton in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776158#M637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0.870588); background-color: #ffffff;"&gt;Just my two cents here,&amp;nbsp;I think icon fonts might not be the best approach. The movement on the web these days is from icon fonts to &lt;A href="https://css-tricks.com/icon-fonts-vs-svg/" style="color: #2989c5;"&gt;inline SVG for lots of really good reasons&lt;/A&gt;. Of course, that article points out the benefits of using inline SVG on the web, not using SVG in Qt&amp;nbsp;which is a little different. I think many of the points still stand though, especially those about dealing with font antialiasing issues. Also if you wanted to do multi-color icons, well its possible with icon fonts but man what&amp;nbsp;a hassle. Not to mention the real pain of keeping an icon font up to date.&amp;nbsp;&lt;/SPAN&gt;I think you'd be better served by just dropping a bunch of SVG files into your assets folder and not dealing with the headache of trying to keep an icon font up to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're really committed to icon fonts though,&amp;nbsp;I came across &lt;A href="https://martin.rpdev.net/2018/03/30/using-fontawesome-5-in-qml.html" style="color: #2989c5;"&gt;this blog post from Martin Höher&lt;/A&gt; a while back. I couldn't get it to work before I had to move on to something else, but it seems worth experimenting with. Especially the creating of a Fonts QML component to assign the unicode value for each of your glyphs to a property. That would make it much, much more readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2019 12:20:05 GMT</pubDate>
    <dc:creator>JohnMDye</dc:creator>
    <dc:date>2019-07-02T12:20:05Z</dc:date>
    <item>
      <title>Using Icon Font glyph in ImageButton</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776156#M635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to AppStudio. New to Qt. New to ArcGIS. Pardon my ignorance. I did search the internets before asking but didn't find any examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following from the AppStudio Font Awesomized Icons sample app:&lt;/P&gt;&lt;P&gt;MyApp.qml&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import QtQuick 2.7
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.1
import QtQuick.Controls.Material 2.1

import ArcGIS.AppFramework 1.0
import ArcGIS.AppFramework.Controls 1.0
import ArcGIS.AppFramework.SecureStorage 1.0

import "controls" as Controls

App {
    id: app
    width: 400
    height: 750

    function units(value) {
        return AppFramework.displayScaleFactor * value
    }

    property real scaleFactor: AppFramework.displayScaleFactor
    property int baseFontSize : app.info.propertyValue("baseFontSize", 15 * scaleFactor) + (isSmallScreen ? 0 : 3)
    property bool isSmallScreen: (width || height) &amp;lt; units(400)
    property color iconColor: "#4C4C4C"

    QtObject {
        id: fa
        readonly property string  settings: "\uf013"
        readonly property string  home: "\uf015"
        readonly property string  email: "\uf0e0"
        readonly property string  gps: "\uf124"
        readonly property string  inbox: "\uf01c"
    }

    Page{
        anchors.fill: parent
        header: ToolBar{
            id:header
            width: parent.width
            height: 50 * scaleFactor
            Material.background: "#8f499c"
            Controls.HeaderBar{}
        }

        // sample starts here -----
        contentItem: Rectangle{
            anchors.top:header.bottom

            FontLoader {
                id: fontAwesome
                source: "assets/fontawesome-webfont.ttf"
            }

            ColumnLayout {
                anchors.horizontalCenter: parent.horizontalCenter

                RowLayout {
                    Layout.fillWidth: true
                    Layout.preferredHeight:app. height/3 * scaleFactor
                    spacing: 40 *scaleFactor
                    anchors.horizontalCenter: parent.horizontalCenter

                    //Add a Font Awesome Twitter icon by creating a Text element
                    Text {
                        font.family: fontAwesome.name
                        text: "\uf099"
                        font.pixelSize: 35 *scaleFactor
                        color: "#1DA1F2"
                    }
...&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&l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&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pretty straight forward. Reference the icon-font in a FontLoader&amp;nbsp;object then reference the icons you want by their unicode value within the font.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, consider the following from the same example app.&lt;/P&gt;&lt;P&gt;/controls/HeaderBar.qml&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.1


import ArcGIS.AppFramework 1.0
import ArcGIS.AppFramework.Controls 1.0

RowLayout{
    anchors.fill: parent
    spacing:0
    clip:true

    Rectangle{
        Layout.preferredWidth: 50*scaleFactor
    }

    Text {
        text:app.info.title
        color:"white"
        font.pixelSize: app.baseFontSize * 1.1
        font.bold: true
        maximumLineCount:2
        wrapMode: Text.Wrap
        elide: Text.ElideRight
        anchors{
            verticalCenter: parent.verticalCenter
            horizontalCenter:parent.horizontalCenter
        }
    }

    Rectangle{
        id:infoImageRect
        Layout.alignment: Qt.AlignRight
        Layout.preferredWidth: 50*scaleFactor

        ImageButton {
            id:infoImage
            source: "../assets/info.png"
            height: 30 * scaleFactor
            width: 30 * scaleFactor
            checkedColor : "transparent"
            pressedColor : "transparent"
            hoverColor : "transparent"
            glowColor : "transparent"
            anchors {
                centerIn: parent
            }
            onClicked: {
                descPage.visible = 1
            }
        }
    }
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SP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SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, strange. We've got an icon font loaded into our app. Why in the world would we use a png for an ImageButton when we have an icon font that could have a vector-based glyph in it that would scale nicely and allow us to set the icon color via a simple property assignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: I want to use an icon font for all of my apps icons, including those on buttons. Can someone provide an example of how to do that? I tried looking up the documentation on ImageButton to see if there were any properties I could use, but all I could find documentation for what the Button type, not ImageButton. F1 doesn't bring up any documentation on ImageButton either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776156#M635</guid>
      <dc:creator>LesVegetables</dc:creator>
      <dc:date>2021-12-12T08:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Icon Font glyph in ImageButton</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776157#M636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use icon font on &lt;A href="https://doc.qt.io/qt-5/qml-qtquick-controls2-button.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Button&lt;/A&gt; (including &lt;A href="https://doc.qt.io/qt-5/qml-qtquick-controls2-roundbutton.html" rel="nofollow noopener noreferrer" target="_blank"&gt;RoundButton&lt;/A&gt; and &lt;A href="https://doc.qt.io/qt-5/qml-qtquick-controls2-toolbutton.html" rel="nofollow noopener noreferrer" target="_blank"&gt;ToolButton&lt;/A&gt;),&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the changes made below for&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;/controls/HeaderBar.qml infoImageReact,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;   Rectangle&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;infoImageRect
        Layout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;alignment&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; Qt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AlignRight
        Layout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;preferredWidth&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;50&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;scaleFactor

        ToolButton &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; infoIcon
            font&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;family&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; fontAwesome&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name
            text&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\uf05a"&lt;/SPAN&gt;
            font&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;pixelSize&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;35&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; scaleFactor
            height&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;30&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; scaleFactor
            width&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;30&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; scaleFactor
            anchors &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                centerIn&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; parent
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            onClicked&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                descPage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;visible &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/452076_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776157#M636</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2021-12-12T08:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Icon Font glyph in ImageButton</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776158#M637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0.870588); background-color: #ffffff;"&gt;Just my two cents here,&amp;nbsp;I think icon fonts might not be the best approach. The movement on the web these days is from icon fonts to &lt;A href="https://css-tricks.com/icon-fonts-vs-svg/" style="color: #2989c5;"&gt;inline SVG for lots of really good reasons&lt;/A&gt;. Of course, that article points out the benefits of using inline SVG on the web, not using SVG in Qt&amp;nbsp;which is a little different. I think many of the points still stand though, especially those about dealing with font antialiasing issues. Also if you wanted to do multi-color icons, well its possible with icon fonts but man what&amp;nbsp;a hassle. Not to mention the real pain of keeping an icon font up to date.&amp;nbsp;&lt;/SPAN&gt;I think you'd be better served by just dropping a bunch of SVG files into your assets folder and not dealing with the headache of trying to keep an icon font up to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're really committed to icon fonts though,&amp;nbsp;I came across &lt;A href="https://martin.rpdev.net/2018/03/30/using-fontawesome-5-in-qml.html" style="color: #2989c5;"&gt;this blog post from Martin Höher&lt;/A&gt; a while back. I couldn't get it to work before I had to move on to something else, but it seems worth experimenting with. Especially the creating of a Fonts QML component to assign the unicode value for each of your glyphs to a property. That would make it much, much more readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 12:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776158#M637</guid>
      <dc:creator>JohnMDye</dc:creator>
      <dc:date>2019-07-02T12:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using Icon Font glyph in ImageButton</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776159#M638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I kind of agree with the points &lt;A href="https://community.esri.com/migrated-users/310856"&gt;John Dye&lt;/A&gt;‌ makes about icon fonts. However, it looks to me like Qt doesn't treat SVGs for what they are, vector images. Rather it appears to treat them as raster images. Does anyone know if this is true or not. For example, how would one change the fill color of an SVG, or change the fill color&amp;nbsp;of one layer within the SVG without having to embed multiple versions of the same resource?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 13:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/using-icon-font-glyph-in-imagebutton/m-p/776159#M638</guid>
      <dc:creator>LesVegetables</dc:creator>
      <dc:date>2019-07-03T13:50:40Z</dc:date>
    </item>
  </channel>
</rss>

