cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bfausti
Advocate II
Advocate II

How to add a horizontal line or border bottom in Canvas

I am trying to add just a simple horizontal line or border bottom and have the ability to change the colour and thickness. Is this possible in Canvas because I can't see how it can be done?

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@bfausti 
Unfortunately there is no property to change only the bottom border, color or thickness.  I suppose if you want you can position a label where you wanted a bottom border, fill it with a color, and change its height.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
mdevaney
Super User
Super User

@bfausti 
Unfortunately there is no property to change only the bottom border, color or thickness.  I suppose if you want you can position a label where you wanted a bottom border, fill it with a color, and change its height.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

@mdevaney  yep that's exactly what I did. Thanks for your help anyway. Hopefully they will add an option for a HR or more border options in the future.

v-siky-msft
Community Support
Community Support

Hi @bfausti ,

 

There is no line control/icon in PowerApps, but it can be achieved with Rectangle icon by setting Height/Width to 0 and BorderThickness greater than 1, like this:

Snipaste_2020-10-15_10-49-28.png

Then you can use variable to control the color and border thickness as you want.

Hope this helps.

Sik

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,212)