UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. NotZaney
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    NotZaney

    @NotZaney

    My name is Tyler 👋, but I go by Zaney online. I have been using Linux for years now and really enjoy what the ecosystem has to offer. I, used to, create videos on my experience with Linux, share my configuration files, and try to share what I’ve learned with anyone in the community. Now my mission is to develop and maintain apps for Ubuntu Touch!

    1
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website zaney.org
    Location Tennessee, United States

    NotZaney Unfollow Follow

    Best posts made by NotZaney

    • Button QML Type: Text Coloring

      So I want to preface this all with a little about myself. I am completely new to posting on forums so if this is done incorrectly I do apologize. I have been lurking and using this forum as a resource to dive into Ubuntu Touch. I have only recently decided that I am going to develop apps for this OS and am fully sold on using this.

      With all that being said I am working on my first app. It is a reading app based off creepypasta where you can find all kinds of stories focusing on creepy and horror. Currently working on basic UI and working with writers to get permission to add their stories.

      I have hit a weird hurdle though. I am trying to add some buttons and maybe this because I am new to QML and the proper way of implementing things. However, I can set the background color using the color option, text string, iconName, but there seems to be no way to change the color of the text and/or icon with a button. This seems like a really massive oversight.

      posted in App Development
      NotZaneyN
      NotZaney

    Latest posts made by NotZaney

    • RE: Button QML Type: Text Coloring

      Thank you guys! I got it figured out. I am new to this and did not dive deep enough into the documentation. I am now done with most, if not all, of the features for my app. I am now just filling it with content.

      This was helpful for anyone that may read this down the line and is having similar confusion:
      https://ubports.gitlab.io/docs/api-docs/index.html?p=lomiriuserinterfacetoolkit%2Flomiri-theming-styles.html

      Sorry for not getting back sooner. Been so caught up with life and working on the app I almost forgot about actually posting to the forums.

      Look forward to becoming more active around these parts! 🤠 Have a wonderful rest of your day!

      posted in App Development
      NotZaneyN
      NotZaney
    • RE: Button QML Type: Text Coloring

      @pparent Thank you for getting back so fast. The only thing I found that would work was wrapping the text string like so: text: "<font color='#000000'>Author</font". However, while this solution allows me to color the text it does not color the icon. The same trick obviously doesn't work for the icon.

      I am just confused at why there is not already two options for text and icon color. I guess for now I am going to leave it alone. Although I would even be open to helping improve the API / adding these options at some point.

      I am sure I could get the buttons working and looking exactly how I want them, but I am just not trying to have 30 lines of nested code to build out a button lol.

      posted in App Development
      NotZaneyN
      NotZaney
    • Button QML Type: Text Coloring

      So I want to preface this all with a little about myself. I am completely new to posting on forums so if this is done incorrectly I do apologize. I have been lurking and using this forum as a resource to dive into Ubuntu Touch. I have only recently decided that I am going to develop apps for this OS and am fully sold on using this.

      With all that being said I am working on my first app. It is a reading app based off creepypasta where you can find all kinds of stories focusing on creepy and horror. Currently working on basic UI and working with writers to get permission to add their stories.

      I have hit a weird hurdle though. I am trying to add some buttons and maybe this because I am new to QML and the proper way of implementing things. However, I can set the background color using the color option, text string, iconName, but there seems to be no way to change the color of the text and/or icon with a button. This seems like a really massive oversight.

      posted in App Development
      NotZaneyN
      NotZaney