B4J Question CLVExpandable without borders?

Midimaster

Active Member
Licensed User
I'm studying Erels CLVExpandable tutorial in B4J...
https://www.b4x.com/android/forum/t...g-or-collapsing-xcustomlistview-items.106148/

...and I cannot understand how to remove the border and rounded corner around the items.

I succeded with the expandable part, where I now have the same color and no border. But between the reduced item and its expanded part (see row 5) remains a line. How to remove it?
1601994141943.png
 

Midimaster

Active Member
Licensed User
The divider height was not responsible for that behavior. Setting to 0 brings the panels closed together. but the thin line remains.

of course i did set the borders to zero! but the border still remains
 
Upvote 0

Midimaster

Active Member
Licensed User
see design:
sample B4J

Thank you! your code works. Don't know why... but it works. Will report, when I find the difference.

wow! it was exactly the same zip with the same files in it. same dates and sames sizes. But my first download did work wrong. yours works perfect!!!
 
Last edited:
Upvote 0

Midimaster

Active Member
Licensed User
of course I already tested it also with DividerHeight=0. same result:
1602068338253.png


and the zip from oppara works also with a DividerHeight > 0 perfect:
1602068514272.png
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
and the zip from oppara works also with a DividerHeight > 0 perfect:
The Divider Height is, of course, the space between Items.

You don't want borders around the title (I finally get it😄 ); to achieve this, you must set the border thickness of the Panel containing the lblTitle, that is the pnlTitle, to 0.

1602069800370.png



EDIT: and of lblTitle too.
 
Upvote 0
Top