Page 1 of 1

(RDMLX)Button in the table

Posted: Tue Jan 21, 2014 2:29 pm
by MegumiSawada
Hi,

Is it possible to make buttons in the table without a gap between facecolor and border(please see the attached pic)?
I tried padding(0)/cellspacing(0) but nothing changed. Innerpadding doesn't seem to exist.
HL44892.txt
(7.31 KiB) Downloaded 274 times
I appreciate your kind advice.

Best Regards,
Megumi Sawada

Re: (RDMLX)Button in the table

Posted: Tue Jan 21, 2014 3:45 pm
by Paul
Hi Megumi,

There are some properties that you could use to get this to look better.

Change the set up of your button to the following;

Code: Select all

* Set up the button in column 6

#COM_OWNER.Set_Button Tablename('Table1') Tablecol_N(6) Buttonfacecolor(Yellow) Text('Select')

* Set the ButtonBorder properties for the button

#COM_OWNER.Set Property('Table1.COL%6.CONTENT.BUTTONBORDER.THICKNESS') To('1')
#COM_OWNER.Set Property('Table1.COL%6.CONTENT.BUTTONBORDER.COLOR') To('Red')
#COM_OWNER.Set Property('Table1.COL%6.CONTENT.BUTTONBORDER.CORNERRADIUS') To('5')
My tests show this removes the gap between the border and the Buttonface color,

I hope this works for you too,
Paul

Re: (RDMLX)Button in the table

Posted: Wed Jan 22, 2014 1:40 pm
by MegumiSawada
Hi Paul,

Thank you for your advice.
It works!!

Best Regards,
Megumi