Cableguy Expert Licensed User Longtime User Apr 22, 2020 #1 Hi guys, Getting back to ABMaterial after a long period of not touching it, I'm coming across a few issues, most, I was able to solve my self ( they were either code mistakes, either misuse) I have the following: B4X: Copy page.NavigationBar.AddSideBarItem("quisommesnous", "{I}Qui sommes nous{/I}", "", "../Page1/") and this results in this: but if i change it to : B4X: Copy page.NavigationBar.AddSideBarItem("quisommesnous", "Qui sommes nous", "", "../Page1/") I get this : also, in either way, this line seems to do nothing: B4X: Copy MyTheme.NavigationBar("NavBar").SideBarFontSize = ABM.SIZE_H4 SO, is this another code mistake or misuse, or is this a bug? (I can live with "as is" menu)
Hi guys, Getting back to ABMaterial after a long period of not touching it, I'm coming across a few issues, most, I was able to solve my self ( they were either code mistakes, either misuse) I have the following: B4X: Copy page.NavigationBar.AddSideBarItem("quisommesnous", "{I}Qui sommes nous{/I}", "", "../Page1/") and this results in this: but if i change it to : B4X: Copy page.NavigationBar.AddSideBarItem("quisommesnous", "Qui sommes nous", "", "../Page1/") I get this : also, in either way, this line seems to do nothing: B4X: Copy MyTheme.NavigationBar("NavBar").SideBarFontSize = ABM.SIZE_H4 SO, is this another code mistake or misuse, or is this a bug? (I can live with "as is" menu)
Harris Expert Licensed User Longtime User Apr 23, 2020 #2 Did you clear the cache (obviously you did)... Upvote 0
Cableguy Expert Licensed User Longtime User Apr 23, 2020 #3 Harris said: Did you clear the cache (obviously you did)... Click to expand... As I said, long time without use... Some "basic" troubleshooting get overlooked. I will try that Upvote 0
Harris said: Did you clear the cache (obviously you did)... Click to expand... As I said, long time without use... Some "basic" troubleshooting get overlooked. I will try that
alwaysbusy Expert Licensed User Longtime User Apr 23, 2020 #4 The ABM.SIZE_ variables can not be used here (they are mostly just for labels) and the navBar needs some more flexibility so normal CSS settings should be used: e.g. Code: Copy MyTheme.NavigationBar("onetwo").SideBarFontSize = "0.8rem" Upvote 0
The ABM.SIZE_ variables can not be used here (they are mostly just for labels) and the navBar needs some more flexibility so normal CSS settings should be used: e.g. Code: Copy MyTheme.NavigationBar("onetwo").SideBarFontSize = "0.8rem"