Jump to content


Photo

Cell Padding.


  • Please log in to reply
3 replies to this topic

#1 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 29 March 2021 - 07:37 AM

Hi Boki,

 

This may be impossible to do but I was wondering if it would be possible to add padding to a cell, specifically on the left?

 

I'm trying to offset text by about 3 or 4 spaces from the left side of each cell.  Sort of like an indent.  I can fudge it by just adding spaces, but I was hoping there might be a better way to do it.

 

Thinking about it, I guess I could write the text in the OnCustomDrawCell event.

 

= Steve

 



#2 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 29 March 2021 - 08:54 AM

Just so you know what I'm actually talking about, here's a screenshot.  I'd like the both lines to be the same distance away from the left side.  So I'd like "Nowhere" to be aligned with the line above.

 

= Steve

 

Attached Files



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 29 March 2021 - 01:15 PM

Hi,

 

Maybe the Padding property of a Column may help?


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 Speed

Speed
  • Members
  • 190 posts
  • Gender:Male

Posted 29 March 2021 - 11:44 PM

Boki, you're a genius!  I didn't even know that was there.  You've thought of everything.

 

Awesome work!

 

= Steve






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users