JanPRO Well-Known Member Licensed 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 Mar 2, 2015 #2 Hi. I think that not possible,because NavigationBar is standard iOS views
klaus Expert Licensed 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.
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 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
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 Administrator Staff member Licensed User Mar 3, 2015 #5 Why don't you set the page title instead of a custom label?
JanPRO Well-Known Member Licensed User Mar 3, 2015 #6 I think, then I can't change the font and the size, or?
Erel Administrator Staff member Licensed User Mar 3, 2015 #7 You can use the code posted here: http://www.b4x.com/android/forum/threads/change-navbar-text-color.50271/#post-313917
You can use the code posted here: http://www.b4x.com/android/forum/threads/change-navbar-text-color.50271/#post-313917