C chaya Member Licensed User Jul 30, 2019 #1 hello I'm using a panel View in the designer I see there is a possibility to set the corner radius Is there a possibilty to set different radius in both sides of the panel Let's say 60 in the left side and 0 in the right side Thank you
hello I'm using a panel View in the designer I see there is a possibility to set the corner radius Is there a possibilty to set different radius in both sides of the panel Let's say 60 in the left side and 0 in the right side Thank you
E emexes Expert Licensed User Longtime User Jul 30, 2019 #2 If you have no border, then you could overlap two panels to achieve the same visual effect. Upvote 0
C chaya Member Licensed User Jul 30, 2019 #3 I'm already overlapping two panels because they have two different background colors but the panel on the right also needs radius >0 only on the right side (and the panel on the left needs radius>0 on the left side) so maybe I will need three panels.. thank you Upvote 0
I'm already overlapping two panels because they have two different background colors but the panel on the right also needs radius >0 only on the right side (and the panel on the left needs radius>0 on the left side) so maybe I will need three panels.. thank you
E emexes Expert Licensed User Longtime User Jul 30, 2019 #5 In retrospect, I probably could have chosen a less-clashing colour combination Upvote 0
E emexes Expert Licensed User Longtime User Jul 30, 2019 #7 Three panels, probably same as your plan in post #3 You could still have a border by having a fourth panel, 2 border-widths larger than the pill-shaped compound shape, and placed underneath it so that the border shows out around the edges. Upvote 0
Three panels, probably same as your plan in post #3 You could still have a border by having a fourth panel, 2 border-widths larger than the pill-shaped compound shape, and placed underneath it so that the border shows out around the edges.
E emexes Expert Licensed User Longtime User Jul 30, 2019 #9 On a related note, there is a spirit level in one of the apps we've done: and the original mock-up of this was two panels - the body was a long panel say 600 x 100 pixels with mildly-rounded corners, and the bubble was a say 96 x 96 pixel panel with corner radius 48 so that it was actually a circle, and could be moved left and right by changing BubblePanel.Left = horizontal position. But now I can't find the mockup project... maybe I didn't save an separate copy, might have just moved on to using the spirit bubble and body images shown above. Upvote 0
On a related note, there is a spirit level in one of the apps we've done: and the original mock-up of this was two panels - the body was a long panel say 600 x 100 pixels with mildly-rounded corners, and the bubble was a say 96 x 96 pixel panel with corner radius 48 so that it was actually a circle, and could be moved left and right by changing BubblePanel.Left = horizontal position. But now I can't find the mockup project... maybe I didn't save an separate copy, might have just moved on to using the spirit bubble and body images shown above.
D davelew1s Active Member Licensed User Longtime User Jul 30, 2019 #10 look at this https://www.b4x.com/android/forum/t...th-different-corner-radius.51475/#post-322392 works for me Dave Upvote 0
look at this https://www.b4x.com/android/forum/t...th-different-corner-radius.51475/#post-322392 works for me Dave