JanPRO Well-Known Member Licensed User Longtime User Mar 2, 2015 #1 Hi, is it possible to center a label in the NavigationBar? Best regards JanPRO
omidaghakhani1368 Well-Known Member Licensed User Longtime User Mar 2, 2015 #2 Hi. I think that not possible,because NavigationBar is standard iOS views Upvote 0
klaus Expert Licensed User Longtime User Mar 2, 2015 #3 Have you tryed to add a BarButton.ITEM_FLEXIBLE_SPACE. This allows to move buttons, I haven't tried it with a Label. Upvote 0
Have you tryed to add a BarButton.ITEM_FLEXIBLE_SPACE. This allows to move buttons, I haven't tried it with a Label.
JanPRO Well-Known Member Licensed User Longtime User Mar 2, 2015 #4 Yes I have already try it, but it doesn't work. See the pictures (especially the iPad/first one) TopLeftButtons: SMCButton, Space, Label, Space, Space Last edited: Mar 2, 2015 Upvote 0
Yes I have already try it, but it doesn't work. See the pictures (especially the iPad/first one) TopLeftButtons: SMCButton, Space, Label, Space, Space
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2015 #5 Why don't you set the page title instead of a custom label? Upvote 0
JanPRO Well-Known Member Licensed User Longtime User Mar 3, 2015 #6 I think, then I can't change the font and the size, or? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2015 #7 You can use the code posted here: https://www.b4x.com/android/forum/threads/change-navbar-text-color.50271/#post-313917 Upvote 0
You can use the code posted here: https://www.b4x.com/android/forum/threads/change-navbar-text-color.50271/#post-313917
JanPRO Well-Known Member Licensed User Longtime User Mar 3, 2015 #8 Thank you very much. It works perfect! Upvote 0