Re: Shadow Thickness

Scott Raney (raney@metacard.com)
Wed, 31 May 1995 09:16:01 -0600 (MDT)

>
> Subject: RE>metacard-list V1 #2
>
> Actually, removing the border is what we do for non-editable fields. We set
> the shadowthickness resource of the Motif widget to 0 and set the background
> color of the textfield widget to be 80% darker than the background color of
> the window (which are all pastels--LightSteelBlue, Gray75, MistyRose2,
> PaleTurquiose3, Bisque). The rule is simple, if an object can be manipulated
> (e.g., a control, an editable textfield) it is three dimensional in
> appearance. If an object cannot be manipulated, as in a display only
> textfield, it is two dimensional. This is specified in the Theater Battle
> Management Human Computer Interface Specification currently being used by the
> US Air Force.

I guess I didn't understand the original question, then. I assumed
that you wanted a border *thicker* than the default 2 pixels. If all
you want to do is turn off the border, set the showBorder property of
the field to false. If you want to turn off the 3D look and just have
a rectangular border, set threeD to false.

-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************