Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Hide View Tab
Hide View Tab [message #1009340] Thu, 14 February 2013 18:36 Go to next message
Li Chen is currently offline Li Chen
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
I have one view in the application that is an MPart. I don't want to show any tab or title for the view.
What I did was to set the css style:
 CTabFolder .MPartStack { swt-single: true;}
and set the Label attribute for the Part to be empty. But I still got a space between the toolbar and the view like this:
index.php/fa/13426/0/
So could anyone tell me how to get rid of the space please?
Thanks
  • Attachment: Capture.JPG
    (Size: 12.09KB, Downloaded 253 times)

[Updated on: Thu, 14 February 2013 18:36]

Report message to a moderator

Re: Hide View Tab [message #1009468 is a reply to message #1009340] Fri, 15 February 2013 02:37 Go to previous messageGo to next message
Dirk Fauth is currently online Dirk Fauth
Messages: 1201
Registered: July 2012
Senior Member
Why do you need the part stack then? AFAIK the part stack will add that space as it is intended to stack parts. Smile But you don't need to use the part stack, you can add your parts to a Window directly which should solve you issue I guess.

Greez,
Dirk
Re: Hide View Tab [message #1010636 is a reply to message #1009468] Sun, 17 February 2013 17:55 Go to previous message
Li Chen is currently offline Li Chen
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
Thanks, you are right, add the part directly to PartSashContainer make the space disappeared Smile
Previous Topic:Eclipse Service with DI
Next Topic:Undo/Redo functionality with EMF resources
Goto Forum:
  


Current Time: Tue Jul 22 03:23:16 EDT 2014

Powered by FUDForum. Page generated in 0.01882 seconds