1
votes

I want to apply RoundBorder style to MultiButton Line2 label when horizontal layout is set to true but calling mb.setHorizontalLayout(true); but I can't because LineX labels are not accessible outside the MultiButton.

I know that I can create curved border using theme designer and applying the uiid to the label using any of the setUIIDLineX() method but I don't want to use it because it didn't give me what I want in some device pixel density.

Is there any other way to style MultiButton internal components(Labels) through code?

Again, why is it that LineX labels are not exposed like icon label?

Exposing the LineX labels will equally enable developers to set icons for the individual labels depending on what the developer want to accomplish.

Thanks.

1

1 Answers

1
votes

No one asked for that so we didn't add such getters. You can file an RFE for that or submit a pull request which will probably be quicker.

Notice you can style the round border in the current version of the designer so you can use a the UIID's to set the round border too.