ButtonGroup component
We've added a cool new component for you. It's a list of buttons that together look like a button bar.
Flutter already provides this component out of the box, but without customizing the app you can't use it. To make sure you can use it even without customization, we implemented the ButtonGroup class on the server side.
If you now include the class in a screen like this:
butgrp.setHorizontalAlignment(IAlignmentConstants.ALIGN_CENTER);
butgrp.setMode(ButtonGroupMode.MultiSelection);
butgrp.setLabels("Left", "Middle", "Right", null, null, "Five");
butgrp.setImages(
UIImage.getImage(UIImage.OK_SMALL),
null, null,
UIImage.getImage(UIImage.TRASH_SMALL),
UIFontAwesome.getImage(IFontAwesome.ADN_SMALL));
butgrp.eventAction().addListener(this::doButtonGroupChanged)
you will see the following in the latest app:
You now have another very helpful component that you can integrate into your custom apps.
Have fun


RSS-Feed