Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP TabFolder getClientArea incorrect(getClientArea for TabFolder incorrect)
RAP TabFolder getClientArea incorrect [message #1220406] Wed, 11 December 2013 14:36 Go to next message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
getClientArea() for a TabFolder gives the wrong results in some situations in RAP...

First example has TabItems along the top of the TabFolder, with different TabItems having different heights:

index.php/fa/16994/0/

The clientArea returned for the TabFolder is too tall. However, I can work-around this (just required for RAP) because the rect.Y part is populated and I can simply subtract rect.Y from rect.H to get the true height of the clientArea.

Next example has TabItems along the bottom of the TabTolder, where one or more of the TabItems has a larger-than-default height (my example has the same tall image on all TabItems):

index.php/fa/16995/0/

I have no workaround for this.

I presume that this is a RAP bug in getClientArea for TabFolders with non-default height TabItems?


---
Just because you can doesn't mean you should
Re: RAP TabFolder getClientArea incorrect [message #1220410 is a reply to message #1220406] Wed, 11 December 2013 14:59 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi John,
this is a bug. TabFolder#getTabBarHeight does not respect item image
size. Please file a bugzilla about this issue.
Thanks,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP TabFolder getClientArea incorrect [message #1220411 is a reply to message #1220410] Wed, 11 December 2013 15:03 Go to previous message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
Thanks Ivan... raised:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=423824


---
Just because you can doesn't mean you should
Previous Topic:Using EMF with RAP Target Platform
Next Topic:Workbench not working properly with Firefox
Goto Forum:
  


Current Time: Thu Apr 25 07:28:42 GMT 2024

Powered by FUDForum. Page generated in 0.02840 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top