Working with MBP M1 and Safari.
I have web toolbar on the web page that shows banner aka label to inform user whether the web app is using test or production database. The banner should show in red color.
I would like to center the banner on the web toolbar. It is challenging though. I can get the banner show in center of the web toolbar if I place at least one toolbar button to the right of it, otherwise the banner shows on the right of the toolbar, see snapshot as it looks with the current code where I have commented the About button.
Note, if I uncomment two last commented code lines the banner will show centered but the About button will be exposed on the toolbar, people don’t like seeing it though.
How can I ensure that the banner is displayed horizontally in the center of the web toolbar?
The second issue has to do with the color of the banner. The method I have in place makes the text of the web label Red, however, when line 3 of the code is commented the color of the label is no longer showing in Red, why? (see snapshot below)
It looks to me like there is some room for improvement on Xojo side, perhaps I need to create the issue, but first I would like someone to comment on it please.
Hmm, I thought that checking “confidential” checkbox makes it only visible internal to Xojo people, now I have learned I should not touch it. Well, one always learns something every day.
Now question is how to “uncheck” the “confidential” checkbox as I don’t see it there.
Private cases are only visible by the creator and Xojo staff.
Usually people check that option if they are sharing the full app and not a sample.
If you want your case to be public, you will need to ask on that Issue to make it public. Xojo staff needs to make it public.
For the ‘center’ option you need:
…MenuNavigation
…FlexibleSpace
…Banner (to be centered)
…FlexibleSpace
…Label with " "
tested with the sample that comes with Xojo.
You are correct, that’s exactly what it does. There may be times when you do need it. The gotcha here was that Alberto is an extremely helpful volunteer, not a Xojo Staff member.