|
From: Benoit X. (JIRA) <no...@at...> - 2007-09-27 15:08:39
|
Issue in ExtTabbedPane if the title change for a Tab placed after an invisible one
----------------------------------------------------------------------------------
Key: RCP-490
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-490
Project: Spring Framework Rich Client Project
Issue Type: Bug
Reporter: Benoit Xhenseval
Attachments: ExtTabbedPane-patch.txt
Hi,
This is probably something for Peter.
I'm using the TabbedDialogPage and ExtTabbedPane (cheers Peter) and I think that I've found a bug.
When the title changes (say due to a page complete event), the propertyChangeHandler is called in ExtTabbedPane and this is use to call:
tabbedPane.setTitleAt(index,...)
Unfortunately, the index is incorrect if the Tab is placed after an invisible tab. The index should be determined calling the method determineUIIndex(tab).
I will suggest a patch which would only change the title/icon etc if the tab is visible and use the correct index.
I'd be grateful if you could consider it.
Many thanks
Benoit
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|