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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
nli00
Regular Visitor

The LineHeight property in Report Builder does not take effect.

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

 

nli00_0-1739001257646.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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'.

vlinhuizhmsft_2-1739157833439.png

 

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.

vlinhuizhmsft_1-1739157804817.png

vlinhuizhmsft_3-1739157858459.png

 

Related links:

sql-docs/docs/reporting-services/report-design/change-row-height-or-column-width-report-builder-and-...

Line height or line spacing in SQL Reporting Services 2008 R2 when using SQL Server Business Intelli...

 

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.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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'.

vlinhuizhmsft_2-1739157833439.png

 

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.

vlinhuizhmsft_1-1739157804817.png

vlinhuizhmsft_3-1739157858459.png

 

Related links:

sql-docs/docs/reporting-services/report-design/change-row-height-or-column-width-report-builder-and-...

Line height or line spacing in SQL Reporting Services 2008 R2 when using SQL Server Business Intelli...

 

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.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.