
|
If you were logged in you would be able to see more operations.
|
|
|
Flex SDK
Created: Thursday 07:24 PM
Updated: Friday 01:15 PM
|
|
| Component/s: |
mx: Menu,
mx: List
|
|
Security Level:
|
Public
(All JIRA Users
)
|
|
|
File Attachments:
|
None
|
|
Image Attachments:
|
|
|
| Severity: |
Usability Issue
|
| Reproducibility: |
Every Time
|
| Discoverability: |
Medium
|
| Found in Version: |
SDK Flex 3 (Released)
|
| Affected OS(s): |
All OS Platforms
|
| Steps to Reproduce: |
Steps to reproduce:
1. See attached image. Try to create the top example by adjusting padding on Menu and/or creating a custom item renderer.
Actual Results:
The best you can easily achieve is the bottom example.
List does not support overall padding. It pushes its padding styles onto the individual item renderers. Since the bottom padding of one item is adjacent to the top padding of the next item, the spacing between items is effectively double the spacing at the very top and very bottom.
Expected Results:
I should be able to specify the List's padding separately from its items' padding.
It would also be nice to be able to specify spacing/gap between item renderers so that you can edit this without having to create a custom item renderer.
Workaround (if any):
* Use variable row height and create a custom item renderer that increases its reported size if it is the top or bottom item in the list.
* Wrap the List in a container with padding. This is infeasible for Menu, however.
* Create a custom subclass of List or Menu that lays itself out with additional padding.
All of these options require some pretty tricky coding.
Steps to reproduce:
1. See attached image. Try to create the top example by adjusting padding on Menu and/or creating a custom item renderer.
Actual Results:
The best you can easily achieve is the bottom example.
List does not support overall padding. It pushes its padding styles onto the individual item renderers. Since the bottom padding of one item is adjacent to the top padding of the next item, the spacing between items is effectively double the spacing at the very top and very bottom.
Expected Results:
I should be able to specify the List's padding separately from its items' padding.
It would also be nice to be able to specify spacing/gap between item renderers so that you can edit this without having to create a custom item renderer.
Workaround (if any):
* Use variable row height and create a custom item renderer that increases its reported size if it is the top or bottom item in the list.
* Wrap the List in a container with padding. This is infeasible for Menu, however.
* Create a custom subclass of List or Menu that lays itself out with additional padding.
All of these options require some pretty tricky coding.
|
| Language Found: |
English
|
| Bugbase Id: |
none
|
| Triaged: |
Yes
|
| Regression: |
No
|
| QA Owner: |
Ella Mitelman
|
| Participants: |
Ella Mitelman and Peter Flynn
|
|
All
|
Comments
|
|
Sort Order:
|
|