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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,918)