Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: Adjusting Textbox Spacing and Layout
description: Resolve issues with textbox spacing and layout discrepancies between the report designer and viewer.
type: how-to
page_title: Fixing Textbox Alignment and Space Discrepancy in Telerik Reporting
meta_title: Fixing Textbox Alignment and Space Discrepancy in Telerik Reporting
slug: adjusting-textbox-spacing-layout-telerik-reporting
tags: reporting, textbox, layout, alignment, font-size, designer, viewer
res_type: kb
ticketid: 1702612
---

## Environment

<table>
<tbody>
<tr>
<td> Product </td>
<td> Reporting </td>
</tr>
<tr>
<td> Version </td>
<td> 19.2.25.924 </td>
</tr>
</tbody>
</table>

## Description

I noticed discrepancies between the Standalone Report Designer and viewer where the textbox spacing and alignment do not match. The issue often arises due to the textbox expanding when using large font sizes, causing layout shifts. Additionally, the report designer may show blank spaces at the bottom of the report that do not appear in the viewer or printed label.

## Solution

To resolve the layout discrepancies, follow these steps:

1. Reduce the font size of the affected textboxes. Large font sizes, such as 20pt, cause the textbox to grow, pushing other elements downward. Use a smaller font like 14pt to prevent this.
1. Avoid overlapping textboxes in the designer. Overlapping can cause unpredictable alignment in the report preview.
1. Check the paper size and page settings. Ensure the dimensions match the intended label size (e.g., 63x38).
1. Ensure that the layout elements fit within the page boundaries. Move any element positioned at the bottom carefully to avoid triggering a new page. If a textbox moves to a new page when adjusted, verify the report's margins and page size.

Example of reducing font size in the report file:

```xml

<TextBox Name="Item1">
<Text Style="FontSize: 14pt">1</Text>
</TextBox>

```

## See Also

* [Telerik Reporting Documentation]({%slug telerikreporting/welcome-to-telerik-reporting!%})
* [Interactive and Print Layouts Overview]({%slug telerikreporting/using-reports-in-applications/display-reports-in-applications/interactive-vs.-print-layout%})
* [TextBox Report Item Overview]({%slug telerikreporting/designing-reports/report-structure/textbox%})