Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Combo / Table header and Forms "flat"-look
Combo / Table header and Forms "flat"-look [message #279371] Mon, 17 January 2005 10:46 Go to next message
Eclipse UserFriend
Originally posted by: opendev.gmail.com

Hi,

I'd like to inquiry whether the "flat" look in Eclipse Forms is
already supported for the combo widget and the header part of a table
(I'm using 3.1M4 on win32).

I was unable to change the regular laf of both these widgets into one
more appropriate for a forms environment. Are there additional steps
beyond

Combo combo =3D new Combo(composite, SWT.NONE);
toolkit.adapt(combo, true, true);

combo.add("foo");
combo.add("bar");
combo.select(0);

I should consider? Thanks in advance,

j.
--
Re: Combo / Table header and Forms "flat"-look [message #279429 is a reply to message #279371] Tue, 18 January 2005 09:52 Go to previous messageGo to next message
Eclipse UserFriend
I don't know about the Eclipse Forms support, but you can create a
flat-looking combo at the swt level if instead you create a CCombo with
SWT.FLAT style. There is not support for tables with flat headers though.

Grant

"J Barthel" <opendev@gmail.com> wrote in message
news:opskq7gdbkbfrpk5@akira.pluswg.test...
Hi,

I'd like to inquiry whether the "flat" look in Eclipse Forms is
already supported for the combo widget and the header part of a table
(I'm using 3.1M4 on win32).

I was unable to change the regular laf of both these widgets into one
more appropriate for a forms environment. Are there additional steps
beyond

Combo combo = new Combo(composite, SWT.NONE);
toolkit.adapt(combo, true, true);

combo.add("foo");
combo.add("bar");
combo.select(0);

I should consider? Thanks in advance,

j.
--
Re: Combo / Table header and Forms "flat"-look [message #279632 is a reply to message #279429] Thu, 20 January 2005 17:43 Go to previous message
Eclipse UserFriend
Originally posted by: opendev.gmail.com

On Tue, 18 Jan 2005 09:52:35 -0500, Grant Gayed <grant_gayed@ca.ibm.com>=
=

wrote:

> I don't know about the Eclipse Forms support, but you can create a
> flat-looking combo at the swt level if instead you create a CCombo wit=
h
> SWT.FLAT style. There is not support for tables with flat headers =

> though.

Thank you very much for your hint. CCombo indeed honors the SWT.FLAT
stylebit which yields convenient looking results using forms.

Regards,

j.
--
Previous Topic:Any way to replace/add hook to global actions?
Next Topic:slow response in 3.1M4
Goto Forum:
  


Current Time: Sun May 11 18:05:34 EDT 2025

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

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

Back to the top