asales Expert Licensed User Longtime User Apr 19, 2019 #1 Is possible to decrease the height of the B4xSwitch (right) to made it smaller, like the left image? Thanks in advance for any tip.
Is possible to decrease the height of the B4xSwitch (right) to made it smaller, like the left image? Thanks in advance for any tip.
Erel B4X founder Staff member Licensed User Longtime User Apr 20, 2019 #2 It looks like the native switch view. You can add it with ViewsEx library. Upvote 0
asales Expert Licensed User Longtime User Apr 20, 2019 #3 Erel said: It looks like the native switch view. You can add it with ViewsEx library. Click to expand... Yes. Is the native switch from ViewEx library. But I want to change to B4xSwitch and made it smaller. Is possible change the height/width of the B4xSwitch by code? Upvote 0
Erel said: It looks like the native switch view. You can add it with ViewsEx library. Click to expand... Yes. Is the native switch from ViewEx library. But I want to change to B4xSwitch and made it smaller. Is possible change the height/width of the B4xSwitch by code?
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2019 #4 asales said: Is possible change the height/width of the B4xSwitch by code? Click to expand... It is possible to change it however you like but you will need to modify the source code of B4XSwith (shouldn't be too difficult). Unzip XUI Views.b4xlib to find the code. Upvote 0
asales said: Is possible change the height/width of the B4xSwitch by code? Click to expand... It is possible to change it however you like but you will need to modify the source code of B4XSwith (shouldn't be too difficult). Unzip XUI Views.b4xlib to find the code.