Hi
How do I rotate the text for a ThisItem. I have a text label with the Text set to
Brilliant. That worked. Thank you for your help.
I have provided you concept for how to display text in a rotated manner. You need to adopt the concept for your specific use case by using string concatenation - similar to how I have done for the Round() function or for defining height and width in the code above.
Nevertheless, pls try below:
"<div
style='
text-align:center;
position: absolute;
left: " & -Round(
(Self.Height - Self.Width) / 2,
0
) & "px;
top: " & Round(
(Self.Height - Self.Width) / 2,
0
) & "px;
width: " & Self.Height & "px;
height:" & Self.Width & "px;
transform: rotate(270deg);
'>
" & ThisItem.Status
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.
Hi. That works ok but how do it for the ThisItem code. I'm pulling data from a sharepoint list. The column in sharepoint is called Status so therefore i am using
ThisItem.Status
Instead of a label, you need HTMLText control
"<div
style='
text-align:center;
position: absolute;
left: " & -Round(
(Self.Height - Self.Width) / 2,
0
) & "px;
top: " & Round(
(Self.Height - Self.Width) / 2,
0
) & "px;
width: " & Self.Height & "px;
height:" & Self.Width & "px;
transform: rotate(270deg);
'>
Your Text goes here
"
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473