Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TTIWAdvRadioGroup cellpadding

 Post Reply Post Reply
Author
Schroder Roger View Drop Down
New Member
New Member
Avatar

Joined: 03 Oct 2017
Posts: 13
Post Options Post Options   Quote Schroder Roger Quote  Post ReplyReply Direct Link To This Post Topic: TTIWAdvRadioGroup cellpadding
    Posted: 19 Aug 2019 at 9:32pm
TTIWAdvRadioGroup appears to have cell padding hard coded to 4

columnItem := 0;
    Contents.AddText('<TABLE cellspacing=0 cellpadding=4 style="font-size:' + IntToStr(Font.Size) + 'pt;'
      + iif(fsBold in Font.Style, 'font-weight:bold;', '')
      + iif(fsItalic in Font.Style, 'font-style:italic;', '')
      + 'color:' + ColorToRGBString(Font.Color) + ';width:100%;height:auto;">');   

could it be requested that cellpadding ... and i guess cellspacing? be a parameter to set?

The default IW radio group has a tighter fit, so when i swapped over to  TTIWAdvRadioGroup 
the viewable list dropped a few times... and I am told to get it back to how it looked before.

Only work around is to modify the source of the TMS code forever.


Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7958
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 19 Aug 2019 at 9:34pm
Thanks for your suggestion. We will consider this.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down