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 change in TextArea
Qt 6.11 is out! See what's new in the release blog

Border change in TextArea

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 3.4k 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.
  • T Offline
    T Offline
    Trikrista
    wrote on last edited by
    #1

    How change border style in TextArea?

    I'm sorry for my bad English

    1 Reply Last reply
    0
    • O Offline
      O Offline
      onek24
      wrote on last edited by
      #2

      Hello,

      you can change the style of your TextArea by using the TextAreaStyle:

      http://doc.qt.io/qt-5/qml-qtquick-controls-styles-textareastyle.html

      Using this you can change the background of your TextArea which should be the border in original. Style it however you want, for example by using a transparent Rectangle with a border.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Trikrista
        wrote on last edited by
        #3

        TextAreaStyle has no atкribute "border"(

        I'm sorry for my bad English

        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