web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom Control - Rotat...
Power Apps
Unanswered

Custom Control - Rotate/Flip?

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    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

  • rgruian Profile Picture
    on at

    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.

     

  • audrieFCT Profile Picture
    987 on at

    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!

  • akmalakmal Profile Picture
    6 on at

    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.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard