Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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.