udg Expert Licensed User Longtime User Feb 7, 2023 #1 Hi all, a customer of mine changed its monitor to a touchscreen model and asks for a wider scrollbar (xCustomListView). I guess that using JavaObject on the inner sv component could do the trick, but where do I find which method to use? CSS could be another way. ps: I'm using the CLV from the XUI Views lib and a solutin limited to B4J is in this case acceptable. TIA
Hi all, a customer of mine changed its monitor to a touchscreen model and asks for a wider scrollbar (xCustomListView). I guess that using JavaObject on the inner sv component could do the trick, but where do I find which method to use? CSS could be another way. ps: I'm using the CLV from the XUI Views lib and a solutin limited to B4J is in this case acceptable. TIA
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2023 #2 Step 1: increase the font size of the CLV with the designer. Set it to 50. Step 2: if you are using AddTextItem then you will need to set the font size of the DesignerLabel like this: Code: Copy CSSUtils.SetStyleProperty(CustomListView1.DesignerLabel, "-fx-font-size", 16) Upvote 0
Step 1: increase the font size of the CLV with the designer. Set it to 50. Step 2: if you are using AddTextItem then you will need to set the font size of the DesignerLabel like this: Code: Copy CSSUtils.SetStyleProperty(CustomListView1.DesignerLabel, "-fx-font-size", 16)
AnandGupta Expert Licensed User Longtime User Feb 7, 2023 #3 I too have touch screen monitor, and I can scroll the clv by touching it with two fingers and scrolling. Just like Android screen. Never felt for scrollbar size limit. Upvote 0
I too have touch screen monitor, and I can scroll the clv by touching it with two fingers and scrolling. Just like Android screen. Never felt for scrollbar size limit.
udg Expert Licensed User Longtime User Feb 7, 2023 #4 Thank you for reporting first-hand experience. I was told by the customer that the standard width is uncomfortable for them so to try to increment it. Maybe it's the problem of a single user..who knows? Anyway, Erel solution is easy to implement. Let's see if it makes the customer happy..heheh Upvote 0
Thank you for reporting first-hand experience. I was told by the customer that the standard width is uncomfortable for them so to try to increment it. Maybe it's the problem of a single user..who knows? Anyway, Erel solution is easy to implement. Let's see if it makes the customer happy..heheh