Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Toolbar height
Toolbar height [message #1061201] Thu, 30 May 2013 13:55 Go to next message
Marco Feldmann is currently offline Marco FeldmannFriend
Messages: 26
Registered: March 2013
Junior Member
Hello,
I'am new in theming RAP. I have a question about that. Is it possible to change the height of the upper right toolbar (toolbar:org.eclipse.ui.trim.command2) or is it hard coded to 22px. The main toolbar has a height of 30px. When I put a label in the upper right toolbar then the text isn't completly visible.

I'am thankfull for any help.
Re: Toolbar height [message #1061586 is a reply to message #1061201] Mon, 03 June 2013 07:35 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 Marko,
is your label still cut-off after the page reload (F5)?
Best,
Ivan

On 5/30/2013 4:55 PM, Marco Feldmann wrote:
> Hello,
> I'am new in theming RAP. I have a question about that. Is it possible
> to change the height of the upper right toolbar
> (toolbar:org.eclipse.ui.trim.command2) or is it hard coded to 22px.
> The main toolbar has a height of 30px. When I put a label in the upper
> right toolbar then the text isn't completly visible.
>
> I'am thankfull for any help.

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Toolbar height [message #1063427 is a reply to message #1061201] Thu, 13 June 2013 07:19 Go to previous messageGo to next message
Marco Feldmann is currently offline Marco FeldmannFriend
Messages: 26
Registered: March 2013
Junior Member
Hi Ivan,
no it is always cut off.

--
Marco
Re: Toolbar height [message #1064458 is a reply to message #1063427] Wed, 19 June 2013 11:44 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 Marco,
I'm sorry for the late response. The location
"toolbar:org.eclipse.ui.trim.command2" is the perspective switch area.
In our online Workbench Demo [1] this area is bigger than 22px and the
size is definitely not hard coded. Could you provide a simple test
project that demonstrate the problem?

[1] http://rap.eclipsesource.com/workbenchdemo/workbench
Best,
Ivan

On 6/13/2013 10:19 AM, Marco Feldmann wrote:
> Hi Ivan,
> no it is always cut off.
>
> --
> Marco

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Toolbar height [message #1065909 is a reply to message #1061201] Fri, 28 June 2013 08:56 Go to previous message
Marco Feldmann is currently offline Marco FeldmannFriend
Messages: 26
Registered: March 2013
Junior Member
Hello Ivan,
I've found the problem. It was a problem with the grid layout.

I have another question. Is there a posibility to relayout the trim toolbar programmatically? In my case I set the label with to a fix value. When the label text change and is to large the label was cut off.

Marco
Previous Topic:ApplicationConfiguration DS example
Next Topic:How to access user Principal without requiring authentication
Goto Forum:
  


Current Time: Thu Mar 28 13:38:53 GMT 2024

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

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

Back to the top