Community
Participate
Working Groups
From bug 501413. Using Eclipse 4.6.0 and SWT from master. When CTabFolder.setTabHeight is used, the height is not always respected in the case where the toolbar buttons do not fit vertically. This behavior was changed by commit: commit 585085075702b3c9665ad402cbe1a9f2889382a0 Author: Eugen Neufeld <eneufeld@eclipsesource.com> Date: Thu Jan 21 19:32:11 2016 +0530 Bug 483688 - [CTabFolder] Icon of toolbar menu cropped Change-Id: Idbf65bdd6f5bb8ae0fad7f1a9af5dc31a103a567 Signed-off-by: Eugen Neufeld <eneufeld@eclipsesource.com> I think that if setTabHeight is not used, then it is OK to make the items overflow. But when setTabHeight was explicitly called, it should respect the height and not overflow. I will attach screen shots of before and after the commit to better illustrate the differences.
Created attachment 264398 [details] Before commit
Created attachment 264399 [details] After commit
Created attachment 264400 [details] Snippet showing bug
New Gerrit change created: https://git.eclipse.org/r/81875
(In reply to Marc-Andre Laperle from comment #0) > I think that if setTabHeight is not used, then it is OK to make the items > overflow. But when setTabHeight was explicitly called, it should respect the > height and not overflow. Yes, this makes sense. Tested your patch on Win7, it looks good. Will verify it on Linux as well before releasing it to master.
Gerrit change https://git.eclipse.org/r/81875 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=8a456e1b2a83efab27513cfa8ed8f72ab32fa6e0
(In reply to Eclipse Genie from comment #6) > Gerrit change https://git.eclipse.org/r/81875 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=8a456e1b2a83efab27513cfa8ed8f72ab32fa6e0 Thanks Marc for your work on this issue, resolving now.
(In reply to Niraj Modi from comment #7) > (In reply to Eclipse Genie from comment #6) > > Gerrit change https://git.eclipse.org/r/81875 was merged to [master]. > > Commit: > > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > > ?id=8a456e1b2a83efab27513cfa8ed8f72ab32fa6e0 > > Thanks Marc for your work on this issue, resolving now. Thank you for the quick review!
*** Bug 501413 has been marked as a duplicate of this bug. ***
Verified fix in Build id: I20161024-2000 on Win7
(In reply to Eclipse Genie from comment #6) > Gerrit change https://git.eclipse.org/r/81875 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=8a456e1b2a83efab27513cfa8ed8f72ab32fa6e0 This patch caused a really crazy regression, see bug 529405 comment 10.