Community
Participate
Working Groups
Created attachment 280841 [details] eclipse3.8 behavior We have an RCP application, with eclipse 3.8, if user opens lots Views at same time, the visible views will be limited to 3 or 4 and their view titles are fully displayed, extra views were moved to dropdown list: With eclipse 4.x, if user opens lots Views, all views will be visible and their view title was trimmed, no view moved to dropdown list, Please change this behavior to similar as eclipse3.x
Created attachment 280842 [details] eclipse4.x behavior
This behavior is defined in the StackRenderer. The minimum number of visible characters is 1, unless the tabs are in a shared area then the minimum number is 15. As a workaround you could try to wrap the Stack in a MArea, then it will probably use the 15 character minimum. Otherwise you could use a custom StackRenderer to override this behavior. You need to provide a custom IRendererFactory to the E4 model, check out the "rendererFactoryUri" property: https://wiki.eclipse.org/Eclipse4/RCP/Modeled_UI/Rendering_the_Model
Is there a planned date/version for this to be fixed? I would like to vote for this as well but it doesn't seem to be letting me. Please advise. Thanks.
@Lars could/should the minimal amount of shown characters be made configurable? Maybe by CSS?
If the widget supports this, we could allow configuration via CSS. Drake/ Hongying, are you interested in providing a patch via Gerrit?
Lars, Thanks for the suggestion. We currently do not use CSS in Tab title area. so no sure how it works. If you can provide sample code, we would happy to try in our code. Thanks, Hongying