N Nitin Joshi Active Member Licensed User Longtime User Jun 5, 2021 #1 Hi, In my project, grid of buttons is generated dynamically when activity is open. I would like to scroll a label over button. I have followed code explained in the video tutorial of dynamic controls (link below) to create gird of buttons. B4X Programming Video Tutorials www.b4x.com The problem is...scrolling label appears behind the buttons, even i have used scrolllabel..mBase.BringToFront Scrolling label is added (static) in designer. How can i solve this? Last edited: Jun 5, 2021
Hi, In my project, grid of buttons is generated dynamically when activity is open. I would like to scroll a label over button. I have followed code explained in the video tutorial of dynamic controls (link below) to create gird of buttons. B4X Programming Video Tutorials www.b4x.com The problem is...scrolling label appears behind the buttons, even i have used scrolllabel..mBase.BringToFront Scrolling label is added (static) in designer. How can i solve this?
B Brian Dean Well-Known Member Licensed User Longtime User Jun 5, 2021 #2 The buttons will have an elevation property value of 2dip - this lifts them above the panel. Give your panel an elevation value of 4dip - that should lift it above the buttons. Upvote 0
The buttons will have an elevation property value of 2dip - this lifts them above the panel. Give your panel an elevation value of 4dip - that should lift it above the buttons.
N Nitin Joshi Active Member Licensed User Longtime User Jun 5, 2021 #3 Brian Dean said: The buttons will have an elevation property value of 2dip - this lifts them above the panel. Give your panel an elevation value of 4dip - that should lift it above the buttons. Click to expand... Dear Brian, It worked, thanks a lot. I have set text color as white in designer, however, text color remains black in app. What could be the reason? Upvote 0
Brian Dean said: The buttons will have an elevation property value of 2dip - this lifts them above the panel. Give your panel an elevation value of 4dip - that should lift it above the buttons. Click to expand... Dear Brian, It worked, thanks a lot. I have set text color as white in designer, however, text color remains black in app. What could be the reason?
B Brian Dean Well-Known Member Licensed User Longtime User Jun 5, 2021 #4 I have set text color as white in designer, however, text color remains black in app Click to expand... This is a new question; you should start a new thread. Meanwhile, my first thought is that you have overlooked a coding error. Upvote 0
I have set text color as white in designer, however, text color remains black in app Click to expand... This is a new question; you should start a new thread. Meanwhile, my first thought is that you have overlooked a coding error.