cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KickingApps
Level 8

Text align in label

The label I have with multiple lines of text is not lining up correctly and for the life of me I cannot figure out what is causing the issue.  

I copied this formula from another app where it lines up correctly.  A solution would be appreciated 🙂

weatherFx.JPGtextAlign.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
KickingApps
Level 8

Re: Text align in label

The issue seemed to be with the indenting of the formula.  When I remove the formatting, the text aligns to the left.

Strangely, the issue does not persist when written the same way in another app.

New formatting:
If(
    IsEmpty(
        colLocation),
"Current temp: " &" 
"& " Forecast high: " &"
"& " Forcast low: " &"
"& " Conditions: " &"
"& "Wind speed: " ,
"Current temp: " & w2.responses.weather.current.temp &"
"& "Forecast high: " & w3.responses.daily.tempHi & w2.units.temperature &"
"& "Forcast low: " &  w3.responses.daily.tempLo & w2.units.temperature &"
"& "Conditions: " & w2.responses.weather.current.cap  &"
"& "Wind Speed: " & w2.responses.weather.current.windSpd & w2.units.speed
)

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Text align in label

Hi @KickingApps,

Can you share a bit more about your issue?

Can you show me the details of your original formula ?

Do you want to keep“Current tempfield in line with other fields ?

 

I made a test.  There is no issue on my side.

12.PNG

please check if there is a lack of space here.

13.PNG

Regards,

Eason

Community Support Team _ Eason YU
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KickingApps
Level 8

Re: Text align in label

@v-sheyu-msft Yes; I would like them to align to the left.  I have this exact formula in another app and am not experiencing this same issue.  Not sure why it is not lining up correctly here.

 

The formula is:

 

If(
    IsEmpty(
        colLocation),
            "Current temp: " &" 
            "& " Forecast high: " &"
            "& " Forcast low: " &"
            "& " Conditions: " &"
            "& "Wind speed: " ,
               "Current temp: " & w2.responses.weather.current.temp &"
            "& "Forecast high: " & w3.responses.daily.tempHi & w2.units.temperature &"
            "& "Forcast low: " &  w3.responses.daily.tempLo & w2.units.temperature &"
            "& "Conditions: " & w2.responses.weather.current.cap  &"
            "& "Wind Speed: " & w2.responses.weather.current.windSpd & w2.units.speed
)
KickingApps
Level 8

Re: Text align in label

The issue seemed to be with the indenting of the formula.  When I remove the formatting, the text aligns to the left.

Strangely, the issue does not persist when written the same way in another app.

New formatting:
If(
    IsEmpty(
        colLocation),
"Current temp: " &" 
"& " Forecast high: " &"
"& " Forcast low: " &"
"& " Conditions: " &"
"& "Wind speed: " ,
"Current temp: " & w2.responses.weather.current.temp &"
"& "Forecast high: " & w3.responses.daily.tempHi & w2.units.temperature &"
"& "Forcast low: " &  w3.responses.daily.tempLo & w2.units.temperature &"
"& "Conditions: " & w2.responses.weather.current.cap  &"
"& "Wind Speed: " & w2.responses.weather.current.windSpd & w2.units.speed
)

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 248 members 5,886 guests
Please welcome our newest community members: