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. Border for Qml Text Type

Border for Qml Text Type

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 3.3k Views 2 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.
  • A Offline
    A Offline
    aktay
    wrote on last edited by
    #1

    Hi all,

    I want to define dynamically border for Text in Qml. I do not want to use Rectangle. Can it be done by defining a style? If I did not apply the wrong method, I tried but it did not work.

    Thanks.

    YashpalY 1 Reply Last reply
    0
    • A aktay

      Hi all,

      I want to define dynamically border for Text in Qml. I do not want to use Rectangle. Can it be done by defining a style? If I did not apply the wrong method, I tried but it did not work.

      Thanks.

      YashpalY Offline
      YashpalY Offline
      Yashpal
      wrote on last edited by
      #2

      @aktay

      1. Why are you hesitant on using rectangle as your text border?
      2. I think style property of Text cannot do this. Style can take enum value.

      Also, putting up minimal code always helps us in understanding what exactly you are trying to achieve?

      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