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. Why does QML Rectangle radius is only outside ? [Solved]
Forum Updated to NodeBB v4.3 + New Features

Why does QML Rectangle radius is only outside ? [Solved]

Scheduled Pinned Locked Moved QML and Qt Quick
11 Posts 4 Posters 4.3k 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.
  • L Offline
    L Offline
    leon.anavi
    wrote on last edited by
    #2

    Duplicates "this thread":http://qt-project.org/forums/viewthread/17794. It would be better if someone could close or delete it.

    http://anavi.org/

    1 Reply Last reply
    -1
    • A Offline
      A Offline
      aabc
      wrote on last edited by
      #3

      The thread in "Mobile and Embedded" can be remove. It's there by a mistake.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on last edited by
        #4

        I closed the other post. For future reference, if you open a thread in the wrong forum you can always add a note and a moderator can move it to the right place.

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        -1
        • A Offline
          A Offline
          aabc
          wrote on last edited by
          #5

          Thanks.
          Can you help me with my question ?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mlong
            wrote on last edited by
            #6

            Regarding your original question, though, can you clarify what you mean by outside the rectangle?

            What behavior are you seeing compared to what you expect?

            Software Engineer
            My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

            1 Reply Last reply
            -1
            • A Offline
              A Offline
              aabc
              wrote on last edited by
              #7

              If I draw Rectangle on QML and specify radius and border with some width, the Rectangle has an outside radius but the inner rectangle (inside the border) has no radius. I expect that the inner rectangle also have the same radius

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mlong
                wrote on last edited by
                #8

                Can you post a screenshot and a sample of the code you're using, please?

                Software Engineer
                My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                1 Reply Last reply
                0
                • EddyE Offline
                  EddyE Offline
                  Eddy
                  wrote on last edited by
                  #9

                  Inside radius + border width = (outside) radius

                  So i guess you set the radius the same value as the border width, right?

                  Qt Certified Specialist
                  www.edalsolutions.be

                  1 Reply Last reply
                  -1
                  • A Offline
                    A Offline
                    aabc
                    wrote on last edited by
                    #10

                    Yes - You right

                    1 Reply Last reply
                    0
                    • EddyE Offline
                      EddyE Offline
                      Eddy
                      wrote on last edited by
                      #11

                      So, to have an inside radius, you'll have to make radius bigger than the border width.

                      If this solves your question, could you please edit your first post and add [solved] to it? Thanks.

                      Qt Certified Specialist
                      www.edalsolutions.be

                      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