Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » view layout
view layout [message #439107] Mon, 05 July 2004 17:16 Go to next message
Eclipse UserFriend
Originally posted by: mbo.shift-think.net

Hi all

I try to put the 'tabs' of two views right besides each other (like you have
it when you code in Eclipse with more than one editor windows open). How is
this done? I currently use the following code:

layout.addView(
SampleView.ID_VIEW,
IPageLayout.TOP,
IPageLayout.RATIO_MAX,
IPageLayout.ID_EDITOR_AREA);
layout.addView(
SampleView2.ID_VIEW,
IPageLayout.TOP,
IPageLayout.RATIO_MAX,
IPageLayout.ID_EDITOR_AREA);

The second view is not placed though as I wanted.

How can this be done?

Thanks & cheers,
Michael
Re: view layout [message #439187 is a reply to message #439107] Tue, 06 July 2004 14:02 Go to previous message
Eclipse UserFriend
You should ask this question on the eclipse.platform newsgroup:

news://news.eclipse.org/eclipse.platform

"Michael Boeni" <mbo@shift-think.net> wrote in message
news:cccg3u$9hj$1@eclipse.org...
> Hi all
>
> I try to put the 'tabs' of two views right besides each other (like you
have
> it when you code in Eclipse with more than one editor windows open). How
is
> this done? I currently use the following code:
>
> layout.addView(
> SampleView.ID_VIEW,
> IPageLayout.TOP,
> IPageLayout.RATIO_MAX,
> IPageLayout.ID_EDITOR_AREA);
> layout.addView(
> SampleView2.ID_VIEW,
> IPageLayout.TOP,
> IPageLayout.RATIO_MAX,
> IPageLayout.ID_EDITOR_AREA);
>
> The second view is not placed though as I wanted.
>
> How can this be done?
>
> Thanks & cheers,
> Michael
>
>
Previous Topic:Gradually filling a virtual table
Next Topic:Embedding SWT inside Swing/AWT
Goto Forum:
  


Current Time: Wed Jul 09 08:02:00 EDT 2025

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

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

Back to the top