Textbox Padding

Stimulsoft Reports.NET discussion
Post Reply
turnertime
Posts: 1
Joined: Fri Oct 03, 2008 12:56 pm
Location: Calgary

Textbox Padding

Post by turnertime »

I am trying to reproduce html/css style padding to easily give a textbox a 1-pixel pad of whitespace. Or if there is a different control than the text box that I can use to get this kind of behavior.

Here are the steps I am currently taking to get a table/grid with padded cells.

1. Drag on a new data band
2. Choose a data source
3. Double click the columns I want
4. Styling the cells with a border

At this point I would like to give this growing textbox padding. Instead I am creating a container that has the border on it, then within that I am creating a text box that is .1 pts from the edge of the container. Than at the bottom I am adding another container to pad the bottom of the container. Because when the container grows it ignores the space that was originally below the text box. I'm hoping there is a better way to do this.

Version: 2008.1.200.0
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Textbox Padding

Post by Vital »

Hello,

You can use Margins property of TextBox.

Thank you.
Post Reply