I am making my own custom control just using shapes, and it looks really good except my rectangle shape is growing in the wrong direction. I don't see a way to 'flip' a shape, is that possible?
To explain.
1. I created a rectangle shape that is tall and thin but which grows in height based on a slider.
2. Height = slider1.value
3. It's working but it grows in height moving downward and I want it to grow in height moving upward.
Can anyone help?
Audrie
Wow.. 2016..
We can use HTML (CSS like) to create Shape that are not available in Canvas.
Unfortunately I can't change the Y value as that will move the shape from left to right. It's sitting on an image so the bottom of it must be anchored down.
Sorry rotate is not supported, I think I already put rotating shapes as a suggestion when I wanted to flip a triangle around to make a call out pointer.
Thanks for your help though!
Audrie, try this:
shape.Y = 100 - Slider1.Value
shape.Height = 50 + Slider1.Value
That should simulate the behavior you are after.
Rotation is not currently supported for shapes.
I hope this helps.
Hi Audrie,
I added several shapes in my App, a Rectangle, a Triangle, a Back arrow. When I changed the Height property of each shape to a larger value, the shapes grow in height moving downward, when I changed the Height property of each shape to a smaller value, the shapes grow in height moving upward.
About this issue, could you submit an idea at PowerApps Ideas Forum?
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
It seems that currently it is not possible to rotate a shape. I have seen an Idea on PowerApps Ideas Forum from you. You could vote this idea at PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/Rotate-property-and-or-Animate-function/idi-p/2590
Best regards,
Mabel Mao
WarrenBelz
89
Most Valuable Professional
MS.Ragavendar
60
stampcoin
48