Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

how to rotate text in a button

Hi Folks,


I need to add a button in vertical form, but i can't find the option to rotate the text inside the button.


please help

Advocate II
Advocate II

For those who are reading this and are struggling to apply this, you need two controls, a button and an HTML text item.
Create HTML in the HTML text item such that it generates a textbox with the proper fill, color, and text for the un-hovered button. The code that @v-bofeng-msft shared should work pretty well. Place a button on top with a blank text field and change the Fill to be RGBA(0,0,0,0), the HoverFill to RGBA(0,0,0,.2), and the PressedFill to RGBA(0,0,0,.4). Feel free to tweak as needed. Put all actions on the Button.OnSelect and it should look how you want while also behaving mostly correct as well. The only downside is the text color isn't easily mutable because you're not actually doing dynamic work on the HTMLText.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,954)