Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

Java, the OLPC, and community responsibility

The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
Replies: 0 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

perspective layout

At 5:16 PM on Jul 25, 2008, Ceeper wrote:

My perspective is using two views. First one contains a tree viewer and
shall be displayed at a hights of 20%, the other view shall take the
rest of 80%.

My perspective code look like this:

layout.addView(
AccountEntriesViewPart.ID_VIEW,
IPageLayout.LEFT,
0.80f,
layout.getEditorArea()
);
layout.addView(
EntryViewPart.ID_VIEW,
IPageLayout.BOTTOM,
0.20f,
AccountEntriesViewPart.ID_VIEW);

But both get about 50% of the available heights, even the smaller view
is a little bit greater. It seems the "smaller" view has a fixed limit,
it may be resized, but it cannot be smaller than the displayed size.

Any idea?

thread.rss_message