Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Button Text wraps in PBI Desktop, but not in PBI Service

The text on buttons in the Power BI Desktop show as wrapping, but does not wrap when viewed on the Power BI Service. I compared the properties of the buttons in both the Desktop and Service, but did not see any differences. Did a recent update change how button text renders in the Service?

 

20230220 - Button Text Difference.gif 

Status: Investigating
Comments
joshmigs
Regular Visitor

@Anonymous - are you able to provide an update on this? the problem still persists...thanks!

 

SERVICE

joshmigs_2-1678799065615.png

DESKTOP (Version: 2.114.864.0 64-bit (February 2023))

joshmigs_1-1678799026048.png

 

lkalawski
Super User

Hi @Ailsa-msft,

 

For our part, the problem has been partially solved for buttons that do not have a drill through action. For those that have problem still exists.
Do you have any estimation to solve this problem?

 

Thank you in advance!

joshmigs
Regular Visitor

@v-yetao1-msft can you confirm this is at least on the radar? not sure we have received any sort of update on this, thanks

mattlee
Microsoft Employee

There was a bug fix where text measurement was not correctly incorporating bottom padding. The default is 4px. If your button is sized very tightly around your text, it could now be determining that there isn't enough room to text wrap.
Under Style > Text, you can reduce bottom padding.

mattlee_0-1680299583746.png

If you have a lot of buttons to change, you could create a custom theme file (or modify one you are already using) to have button padding bottom at 0px which should fix all buttons in your report.

joshmigs
Regular Visitor

@mattlee THANK YOU! i had played around with padding the other week but i guess not enough, this worked, appreciate the help!