Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » view layout
view layout [message #439107] Mon, 05 July 2004 21: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 18:02 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
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: Sun Nov 10 18:20:52 GMT 2024

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

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

Back to the top