Hi,
I've created a formview which has a label above a table.
However there's a gap between the label and table but I don't want to have a gap between them.
Is there anyway to delete this gap?
I've created a table without any border but I put a border around every items.
The label is defined 1 row upper than the table.
Table has no header.
I appreciate your advice...
Best Regards,
Megumi Sawada
(RPG)a label above a table
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: (RPG)a label above a table
By default all the cells on a form are spaced out.
The label is in one cell, the table in another - so try LRNG_SetNumProperty('/Form.Grid.Cellspacing' : 0 );
If you still have space you could try setting the padding on the label and table to zero.
The label is in one cell, the table in another - so try LRNG_SetNumProperty('/Form.Grid.Cellspacing' : 0 );
If you still have space you could try setting the padding on the label and table to zero.
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: (RPG)a label above a table
Thank you,Mark.
It's better, but still it has a gap.
And when I re-load the formview,the gap become bigger...I don't know why.I'll find out.
If you have any other idea, could you please let me know?
Otherwise I'll tell the customer this.
Best Regards,
Megumi
It's better, but still it has a gap.
And when I re-load the formview,the gap become bigger...I don't know why.I'll find out.
If you have any other idea, could you please let me know?
Otherwise I'll tell the customer this.
Best Regards,
Megumi
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: (RPG)a label above a table
Can you send me your RPG code?
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: (RPG)a label above a table
Hi Mark,
These are my sample code.
Thank you,
Megumi
These are my sample code.
Thank you,
Megumi
- Attachments
-
- DDSSRC.txt
- (3.58 KiB) Downloaded 304 times
-
- RPGSRC.txt
- (5.88 KiB) Downloaded 317 times
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: (RPG)a label above a table
Try making the table do this:
and make the program do this:
Code: Select all
A PADDING: 0
A INNERPADDING:0 Code: Select all
LRNG_SetNumProperty('/Form.Padding' : 0 );
LRNG_SetNumProperty('/Form.Grid.Cellspacing' : 0 );-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: (RPG)a label above a table
Thank you,Mark!
I was able to have an expected result with making the table with padding and innerpadding zero, and making RPG code to use LRNG_SetNumProperty('/Form.Grid.Cellspacing' : 0 );
Perfect.
Thank you again!
Megumi
I was able to have an expected result with making the table with padding and innerpadding zero, and making RPG code to use LRNG_SetNumProperty('/Form.Grid.Cellspacing' : 0 );
Perfect.
Thank you again!
Megumi