Skip to main content

Notifications

Community site session details

Community site session details

Session Id : V0DV/0FhlBhwY12uZyFZkV
Power Apps - Building Power Apps
Unanswered

Custom Control - Rotate/Flip?

Like (0) ShareShare
ReportReport
Posted on 4 Oct 2016 01:31:25 by 987

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

  • akmalakmal Profile Picture
    6 on 16 Jul 2021 at 16:34:57
    Re: Custom Control - Rotate/Flip?

    Wow.. 2016..

    1. Put your Shape1.Y reference to other fixed item(Shape2).
    2. Shape1.Y= Shape2.Y-Shape1.Height

     

    We can use HTML (CSS like) to create Shape that are not available  in Canvas.

     

  • audrieFCT Profile Picture
    987 on 04 Oct 2016 at 21:46:13
    Re: Custom Control - Rotate/Flip?

    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!

  • rgruian Profile Picture
    on 04 Oct 2016 at 18:44:37
    Re: Custom Control - Rotate/Flip?

    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.

     

  • v-yamao-msft Profile Picture
    on 04 Oct 2016 at 06:46:58
    Re: Custom Control - Rotate/Flip?

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 60

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard
Loading started