[
https://issues.apache.org/jira/browse/FLEX-25378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605504#comment-14605504
]
Andriy Panas commented on FLEX-25378:
-------------------------------------
ButtonBar filled with icon buttons is a common UX pattern, let's reopen this
one and give Spark ButtonBar a bit of love
> [button icon] Spark ButtonBar should add a buttonWidth/buttonHeight style (a
> la mx:ButtonBar)
> ---------------------------------------------------------------------------------------------
>
> Key: FLEX-25378
> URL: https://issues.apache.org/jira/browse/FLEX-25378
> Project: Apache Flex
> Issue Type: Improvement
> Components: Spark: ButtonBar
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Adobe JIRA
> Priority: Minor
>
> Found in 4.5.0.17804
> Steps to reproduce:
> 1. Compile and run attached MXML file.
>
> Actual Results:
> mx:ButtonBar has a buttonWidth style, so you can easily set button widths to
> fit icons.
> s:ButtonBar doesn't. So you seemingly need to set the width on the ButtonBar
> control instead based on the number of items in the data provider.
>
>
> Expected Results:
> s|ButtonBar should add buttonWidth and buttonHeight styles.
>
>
> Workaround (if any):
> Instead of setting buttonWidth to 20px, you need to set the width of the
> s|ButtonBar to 80px (20px * 4 buttons)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)