Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
In Report Builder, when using a text box with static text content, if the content exceeds the maximum length of the text box, it will automatically wrap. After wrapping, you want to set the line height, but the LineHeight property has no effect when set
Solved! Go to Solution.
Hi @nli00 ,
By default text boxes in the row are set to grow vertically to accommodate their data at run-time. This setting can cause a row to expand beyond the height that you specify. To set a fixed row height, you must change the text box properties so they don't automatically expand.
In the Properties pane under General, set CanGrow to False. The lineheight value must be between '1pt' and '1000pt'.
The LineHeight property setting only has an effect in HTML rendering. Therefore, the report view will not show the effect of the lineheight you set. You can try to publish it to Power BI Report Server, or Power BI Service.
Related links:
Best Regards,
Zhu
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @nli00 ,
By default text boxes in the row are set to grow vertically to accommodate their data at run-time. This setting can cause a row to expand beyond the height that you specify. To set a fixed row height, you must change the text box properties so they don't automatically expand.
In the Properties pane under General, set CanGrow to False. The lineheight value must be between '1pt' and '1000pt'.
The LineHeight property setting only has an effect in HTML rendering. Therefore, the report view will not show the effect of the lineheight you set. You can try to publish it to Power BI Report Server, or Power BI Service.
Related links:
Best Regards,
Zhu
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
77 | |
57 | |
40 | |
39 |
User | Count |
---|---|
117 | |
83 | |
79 | |
48 | |
42 |