Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Hide View Tab
Hide View Tab [message #1009340] Thu, 14 February 2013 18:36 Go to next message
Eclipse UserFriend
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 1284 times)

[Updated on: Thu, 14 February 2013 18:36] by 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
Eclipse UserFriend
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
Eclipse UserFriend
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 20:57:37 EDT 2025

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

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

Back to the top