JakeBullet70 Well-Known Member Licensed User Longtime User Dec 30, 2023 #1 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 After clickingthe 'Click Me' button and showing a dialog it looks like this: The tranparensy works. What am I missing? Attachments Project.zip Project.zip 122.9 KB · Views: 314 Last edited: Dec 30, 2023
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 After clickingthe 'Click Me' button and showing a dialog it looks like this: The tranparensy works. What am I missing?
Solution Alexander Stolte Dec 30, 2023 simply making the clv transparent in the designer is not enough in b4j. you also need to do the following: B4X: Copy lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;"
simply making the clv transparent in the designer is not enough in b4j. you also need to do the following: B4X: Copy lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;"
Alexander Stolte Expert Licensed User Longtime User Dec 30, 2023 #2 simply making the clv transparent in the designer is not enough in b4j. you also need to do the following: B4X: Copy lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;" Upvote 0 Solution
simply making the clv transparent in the designer is not enough in b4j. you also need to do the following: B4X: Copy lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;"
JakeBullet70 Well-Known Member Licensed User Longtime User Dec 30, 2023 #3 Alexander Stolte said: simply making the clv transparent in the designer is not enough in b4j. you also need to do the following: B4X: Copy lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;" Click to expand... Thanks! Would of never thought of that. Upvote 0
Alexander Stolte said: simply making the clv transparent in the designer is not enough in b4j. you also need to do the following: B4X: Copy lvHeaderMenu.sv.As(ScrollPane).Style="-fx-background:transparent;-fx-background-color:transparent;" Click to expand... Thanks! Would of never thought of that.