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. How to remove specific borders
Forum Updated to NodeBB v4.3 + New Features

How to remove specific borders

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 59 Views
  • 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.
  • DeSGuND Offline
    DeSGuND Offline
    DeSGuN
    wrote last edited by
    #1

    How to remove specific borders – can't find it in the documentation

    Rectangle{
            width: 300
            height: 300
            color: "#21457e"
            border.color: "#ff0000"
        }
    
    B 1 Reply Last reply
    0
    • B Offline
      B Offline
      Bandler
      wrote last edited by Bandler
      #2

      Set the color to "transparent" or the width to 0.

      1 Reply Last reply
      0
      • DeSGuND DeSGuN

        How to remove specific borders – can't find it in the documentation

        Rectangle{
                width: 300
                height: 300
                color: "#21457e"
                border.color: "#ff0000"
            }
        
        B Offline
        B Offline
        Bob64
        wrote last edited by
        #3

        @DeSGuN Do you mean the border on only certain sides of the rectangle? I don't think there is a built in way to do this. You might be able to overlay thin rectangles to cover the borders perhaps, but I am not sure how well it will work.

        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