Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3747

WebToolbarButton - Badge - Style

$
0
0

Hello,

I’m building a web app in 2024 1.1.

The WebToolbar has a lot more functionality than when I last used it.

I’m finding the WebToolBarButton badges very useful for displaying progress, counters and status messages. Examples:

Screenshot 2024-05-11 at 10.17.25 am

Screenshot 2024-05-11 at 9.57.08 am

I imagine the badge is styled from the badge styles in the underlying bootstrap theme.

Screenshot 2024-05-11 at 9.31.36 am

I imagined BadgeStyles may have been exposed and set similarly to WebToolbarButton.ButtonStyles:

WebToolbarButton.ButtonStyles.FlexibleSpace or Label or Menu or Push Button or Separate Menu or Separator or Space or Toggle

Therefore:

WebToolbarButton.BadgeStyles.Primary or Secondary or Success or Danger or Warning or Info or Light or Dark

however Badge styles are not exposed in that manner.

There does not even appear to be a Style property for the Badge.

I’d like to style the Badges individually.

Please advise how to style a WebToolbarButton Badge.

Thank you.

Kind regards, Andrew

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3747

Trending Articles