rraswisak Active Member Licensed User Longtime User Jan 22, 2019 #1 Hi All, I use xCustomListView for my B4A and B4J app, please take a look this: A: Form background came with color or images B: Background of CustomListView C: Scrollbar 1. When i set color drawable on CLV with transparent, it does not affect. It's should be red color as point A 2. When size of list item less than CLV height, the scrollbar area was visible (but not the scrollbar it self), don't you think the item width will following CLV width whenever scrollbar was visible or not Thank you
Hi All, I use xCustomListView for my B4A and B4J app, please take a look this: A: Form background came with color or images B: Background of CustomListView C: Scrollbar 1. When i set color drawable on CLV with transparent, it does not affect. It's should be red color as point A 2. When size of list item less than CLV height, the scrollbar area was visible (but not the scrollbar it self), don't you think the item width will following CLV width whenever scrollbar was visible or not Thank you
Solution Erel Jan 22, 2019 Moved to the questions forum. It is always better to start with a question. If you want the list to be transparent in B4J then you must add a CSS file with: Code: Copy .scroll-pane{ -fx-background-color:transparent; } .scroll-pane .viewport { -fx-background-color: transparent; } Loading CSS files: https://www.b4x.com/android/forum/threads/35854/#content If it doesn't solve the problem then please upload the project.
Moved to the questions forum. It is always better to start with a question. If you want the list to be transparent in B4J then you must add a CSS file with: Code: Copy .scroll-pane{ -fx-background-color:transparent; } .scroll-pane .viewport { -fx-background-color: transparent; } Loading CSS files: https://www.b4x.com/android/forum/threads/35854/#content If it doesn't solve the problem then please upload the project.
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2019 #2 Moved to the questions forum. It is always better to start with a question. If you want the list to be transparent in B4J then you must add a CSS file with: Code: Copy .scroll-pane{ -fx-background-color:transparent; } .scroll-pane .viewport { -fx-background-color: transparent; } Loading CSS files: https://www.b4x.com/android/forum/threads/35854/#content If it doesn't solve the problem then please upload the project. Upvote 0 Solution
Moved to the questions forum. It is always better to start with a question. If you want the list to be transparent in B4J then you must add a CSS file with: Code: Copy .scroll-pane{ -fx-background-color:transparent; } .scroll-pane .viewport { -fx-background-color: transparent; } Loading CSS files: https://www.b4x.com/android/forum/threads/35854/#content If it doesn't solve the problem then please upload the project.
rraswisak Active Member Licensed User Longtime User Jan 22, 2019 #3 Moved to the questions forum Click to expand... Hi Erel, thank you for your reply and directing to correct sub forum, Code: Copy .scroll-pane{ -fx-background-color:transparent; } .scroll-pane .viewport { -fx-background-color: transparent; } using above css code plus setting clv drawable to transparent make the clv has transparent background, even it will have an impact on the divider color property, but it's okay for now because i do not use divider color in this case thank you for your support Upvote 0
Moved to the questions forum Click to expand... Hi Erel, thank you for your reply and directing to correct sub forum, Code: Copy .scroll-pane{ -fx-background-color:transparent; } .scroll-pane .viewport { -fx-background-color: transparent; } using above css code plus setting clv drawable to transparent make the clv has transparent background, even it will have an impact on the divider color property, but it's okay for now because i do not use divider color in this case thank you for your support