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 23: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 264 times)

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

Report message to a moderator

Re: Hide View Tab [message #1009468 is a reply to message #1009340] Fri, 15 February 2013 07:37 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1300
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 22: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: Wed Oct 01 00:15:36 GMT 2014

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

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