Like ToolBarLayout, but with multiple rows? [message #109741] |
Thu, 18 December 2003 04:07  |
Eclipse User |
|
|
|
Originally posted by: fuc_ingforce.hotmail.com
Hello,
I have been searching quite long for a solution, but couldn't find a
convenient one yet:
Is there a Layout in Draw2D which is comparable to the GridLayout in SWT?
The ToolBarLayout works fine for me, but unfortunately it only offers one
row. Any suggestions? Thanks^^
|
|
|
Re: Like ToolBarLayout, but with multiple rows? [message #109760 is a reply to message #109741] |
Thu, 18 December 2003 15:53   |
Eclipse User |
|
|
|
> Is there a Layout in Draw2D which is comparable to the GridLayout in SWT?
No, sorry.
> The ToolBarLayout works fine for me, but unfortunately it only offers one
> row. Any suggestions?
You can achieve that by using several nested figures. I.e., have a figure
with a vertical toolbar layout that contains figures with horizontal toolbar
layouts (thus, each of these being a row in your table). Nested
ToolbarLayouts, however, might now work. In that case, you might want to
try FlowLayout.
"Roger" <fuc_ingforce@hotmail.com> wrote in message
news:brrqop$kal$1@eclipse.org...
> Hello,
>
> I have been searching quite long for a solution, but couldn't find a
> convenient one yet:
>
> Is there a Layout in Draw2D which is comparable to the GridLayout in SWT?
> The ToolBarLayout works fine for me, but unfortunately it only offers one
> row. Any suggestions? Thanks^^
>
|
|
|
|
|
|
|
|
|
Re: Like ToolBarLayout, but with multiple rows? [message #166563 is a reply to message #138593] |
Tue, 01 February 2005 19:54  |
Eclipse User |
|
|
|
Hello GEF community,
I have not seen the promised code so I followed the given recipe and it
works at a first glance.
Please find the code attached for your convenience. My next task is now to
make the grid work in a flow context ... let's see how that will work out.
Have fun!
K
"Jurrien" <js@sygel.com> wrote in message news:cas0ju$1g5$1@eclipse.org...
> I would be interested in this contribution, has it already been posted?
>
> Thanks ens keep up the good work,
>
> Jurrien.
> "Roger" <fuc_ingforce@hotmail.com> wrote in message
> news:bt329c$9vc$1@eclipse.org...
> > Vadim Strizhevsky wrote:
> >
> > > Randy Hudson wrote:
> >
> > > > > It works very well for me. I can post it if there's interest, but
> I'm not
> > > > > sure how acceptable this is. I.e. would a copy of SWT code be even
> > > > allowed?
> >
> > > > Allowed? Absolutely. In fact, you may be required to make the code
> > > > available :-)!
> >
> > > He he. ;) Ok. Let me check it over for any obvious stupid things and
> I'll
> > > post it next week.
> >
> > > -Vadim
> >
> > That would be great indeed, Vadim!
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07066 seconds