![]() |
Adding buffer to columns |
Post Reply ![]() |
Author | |
rag6419 ![]() Newbie ![]() ![]() Joined: 07 March 2006 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 12 June 2006 at 2:03pm |
In 9.80 is there a way to set a padding to the left of text within a column?
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
add some spaces in front of the item...?
-- WBR, Serge |
|
![]() |
|
rag6419 ![]() Newbie ![]() ![]() Joined: 07 March 2006 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
We couldn't do that since we use the exact string out of it (couldn't use a trim to remove the spaces), so overriding the draw functions is what we're doing. We'll allow everything to paint (background, etc), then adjust the left edge of the text area before it gets painted.
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Sounds right. So, it there any problem with this solution?
-- WBR, Serge |
|
![]() |
|
rag6419 ![]() Newbie ![]() ![]() Joined: 07 March 2006 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
No problem with doing it, but for others, it might be nice to be able to set a pixel offset like there appears to be for headers.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |