This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232022 - Feature Request: Support multiline Tabtitles (with line breaks)
Summary: Feature Request: Support multiline Tabtitles (with line breaks)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-29 06:25 UTC by sergiosaquetim
Modified: 2013-06-30 03:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed feature look. (118.60 KB, image/jpeg)
2013-06-29 06:25 UTC, sergiosaquetim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sergiosaquetim 2013-06-29 06:25:13 UTC
Created attachment 136487 [details]
Proposed feature look.

Provide the hability to specify a tab title with line breaks, separated by '\n' or in the html mode by '<br>'. That would be useful to specify a context to the user in the case where our application built with the Netbeans RCP have several documents/records with the same title, but in the different contexts.

I've attached a proposed screenshot to illustrate what I mean.
Comment 1 sergiosaquetim 2013-06-30 03:35:40 UTC
I've been thinking about my proposal and I think that maybe it would be more interesting that instead of tracking line breaks, we could set the tab title using an String array in which each element would be a line in the tab title.

That way it would be easier to set the tab height and render the text with proper size control, ellipsis etc. A new interface could be used with the TopComponents to establish the new method to get the titles. 

That way we shouldn't break any existing code with that feature, and the result would be easy to use.