The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
203 | |
82 | |
65 | |
48 | |
38 |