B4J Question [Solved] transparent issue with Custom List view

JakeBullet70

Well-Known Member
Licensed User
Longtime User
I have a problem with my current project, I have a CustomListView I have set to transparent that is failing until I show a B4X dialog.
I have included the project.
So on project startup it looks like this: The top menu is a list view


Gg3z6ri2xe.png



After clickingthe 'Click Me' button and showing a dialog it looks like this: The tranparensy works.

3eJ1cYAMOD.png


What am I missing?
 

Attachments

  • Project.zip
    122.9 KB · Views: 135
Last edited:
Solution
simply making the clv transparent in the designer is not enough in b4j. you also need to do the following:
B4X:
lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;"

Alexander Stolte

Expert
Licensed User
Longtime User
simply making the clv transparent in the designer is not enough in b4j. you also need to do the following:
B4X:
lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;"
 
Upvote 0
Solution

JakeBullet70

Well-Known Member
Licensed User
Longtime User
simply making the clv transparent in the designer is not enough in b4j. you also need to do the following:
B4X:
lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;"

Thanks! Would of never thought of that.
 
Upvote 0
Top