History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-15847
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Robert Vollmar (Adobe)
Reporter: Joep Joosten
Votes: 3
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Flex SDK

The selected tab in a TabBar measures UITextComponent without taking into account the letter-spacing

Created: 06/19/08 05:45 AM   Updated: 09/17/08 12:34 PM
Component/s: mx: Tab Bar
Security Level: Public (All JIRA Users )

File Attachments: 1. File TestLocal.mxml (0.5 kb)
2. File TestLocalUpdated.mxml (0.6 kb)


Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: High
Found in Version: SDK Flex 3 (Released)
Milestone: SDK Flex 3.2.0
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
1. Create a TabBar component with one or more tabs with a label.
2. Also create a LinkButton with some label and set the letterspacing to e.g. -5
 
 Actual Results:
a. When running the component with one tab the size of the label of the tab is to small thus it prints "...".
b. When using 2 or more tabs the labels are initially fine, but when hovering over the linkbutton, and then go to the selected tab, the label is redrawn and clipping (or "...") occurs. This can be explained by the letter-spacing of the linkbutton. This style is somehow inherited when the label of the selected tab is drawn. (this doesn't occur with a non-selected tab).
 
 Expected Results:
 the label of the selected tab shouldn't be clipped.
 
 Workaround (if any):
 None
 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Robert Vollmar (Adobe)
Resolved by: Corey Lucier
Confirmed Version: SDK Flex 3.2.0 - Next Build
Participants: Brian Telintelo, Corey Lucier, Deepa Subramaniam, Joep Joosten, Lauren Park and Robert Vollmar (Adobe)

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 All   Comments      Sort Order:
Brian Telintelo - [07/10/08 02:37 PM ]
This doesn't appear to have anything to do with letter spacing. Try the updated file, I add much more text to the link button and increased the tabbar width to 100% and the last character still gets cut off.

Robert Vollmar (Adobe) - [07/11/08 07:03 PM ]
Able to reproduce in revision 2449 of gumbo as well. It is true, and very odd, that the LinkButton's letterSpacing property will affect the TabBar's tabs after hovering over the LinkButton.

Brian Telintelo - [07/15/08 09:40 PM ]
I think the priority should be raised on this one. I am seeing tabs get cut off all over the place on the code I am working on. Letter spacing seems to do it, but it seems like there are other ways to cause this to happen. I have tried to find a work around but have had no luck.

Lauren Park - [08/29/08 04:46 PM ]
Opened.

Deepa Subramaniam - [09/03/08 04:35 PM ]
To Corey, hopefully a nice respite from performance :)

Corey Lucier - [09/04/08 01:21 PM ]
Fixed in revision 3098 of the 3.0.x branch.

Robert Vollmar (Adobe) - [09/17/08 12:34 PM ]
Confirmed fixed in 3.2.0 build 3238.