Elric Well-Known Member Licensed User May 14, 2021 #1 Hello everybody! I'm playing with B4XPages, B4XTable and Drawers. Then I would have a drawer to navigate between different pages and, while we're at it, I would have two different drawer (e.g. one for admin console and one for user console). With the drawers there is no problem (@klaus help me before about that: thank you again!). maximizing window problem B4xTable doesn't give any problem if is loaded in a normal page or if the drawer code is in the same module where the B4XTable is managed. But if the drawer code is in a separate class when I maximize the window, the B4XTable will not adapt notwithstanding the anchor are set appropriately. There is some solution? I should give up and put the drawer code in each single page? Thank you! Attachments B4XTableAndTwoDifferentDrawers.zip B4XTableAndTwoDifferentDrawers.zip 154.1 KB · Views: 305
Hello everybody! I'm playing with B4XPages, B4XTable and Drawers. Then I would have a drawer to navigate between different pages and, while we're at it, I would have two different drawer (e.g. one for admin console and one for user console). With the drawers there is no problem (@klaus help me before about that: thank you again!). maximizing window problem B4xTable doesn't give any problem if is loaded in a normal page or if the drawer code is in the same module where the B4XTable is managed. But if the drawer code is in a separate class when I maximize the window, the B4XTable will not adapt notwithstanding the anchor are set appropriately. There is some solution? I should give up and put the drawer code in each single page? Thank you!
Elric Well-Known Member Licensed User May 15, 2021 #2 Solved: https://www.b4x.com/android/forum/t...mi-ingrandendo-la-finestra.130750/post-823116. Adding: B4X: Copy Private Sub B4XPage_Resize (Width As Int, Height As Int) modDrawer.Resize(Width, Height) End Sub In each page managed by Drawer. Of course, "modDrawer" is just the name of class module containing the drawer. Thanks to @LucaMs (as usual!). Last edited: May 15, 2021 Upvote 0
Solved: https://www.b4x.com/android/forum/t...mi-ingrandendo-la-finestra.130750/post-823116. Adding: B4X: Copy Private Sub B4XPage_Resize (Width As Int, Height As Int) modDrawer.Resize(Width, Height) End Sub In each page managed by Drawer. Of course, "modDrawer" is just the name of class module containing the drawer. Thanks to @LucaMs (as usual!).