J jcmartini Member Licensed User Longtime User Oct 27, 2026 #1 I'm customizing the TextEditor example. I need 4 icons for menu. Could I have these icons on the same line and not 2 and 2 in a hidden menu ?
I'm customizing the TextEditor example. I need 4 icons for menu. Could I have these icons on the same line and not 2 and 2 in a hidden menu ?
Erel B4X founder Staff member Licensed User Longtime User Oct 28, 2026 #2 Adding menu items in B4XPages: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-744375 Make sure to set mi.AddToBar = True. If there is enough room then it will appear in the action bar. Upvote 0
Adding menu items in B4XPages: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-744375 Make sure to set mi.AddToBar = True. If there is enough room then it will appear in the action bar.
J jcmartini Member Licensed User Longtime User Saturday at 10:25 AM #3 Unfortunatly mi-AddToBar is True and a lot of space on the left, but it does not work. See attach pictures. Attachments MenuIcons1.png 6.3 KB · Views: 55 MernuIcons2.png 13.4 KB · Views: 61 Upvote 0
Unfortunatly mi-AddToBar is True and a lot of space on the left, but it does not work. See attach pictures.
Erel B4X founder Staff member Licensed User Longtime User Sunday at 6:44 AM #4 Try the updated B4XPages (v1.16). Use mi.AddToBarAlways = True This will force the menu item to appear in the action bar regardless of the "room available". Attachments B4XPages.b4xlib B4XPages.b4xlib 7.8 KB · Views: 19 Upvote 0
Try the updated B4XPages (v1.16). Use mi.AddToBarAlways = True This will force the menu item to appear in the action bar regardless of the "room available".
J jcmartini Member Licensed User Longtime User Sunday at 10:21 AM #5 Nice !... thank you it works. Upvote 0