Mick Dugan Posted March 13, 2005 Posted March 13, 2005 Is there a way to "pad" the text in a datagrid so the text isn't completely jambed against the vertical border? I don't want to center the text, just move it over a bit. Quote
penfold69 Posted March 14, 2005 Posted March 14, 2005 If you mean the column caption text, when right aligned, I generally append a space, followed by the pipe character: eg: myDataColumn.HeaderText = "Price |" Quote
Mick Dugan Posted March 15, 2005 Author Posted March 15, 2005 Actually, I'm entering the header columns at design time, so adding a space wouldln't be a problem. The column is for price as you alluded to and it dosen't look good having the right aligned column jambed up against the adjacent left aligned column. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.