Re: Text invisible in fl_add_input fields (was: Re: fl_set_input)

Andy Roosen (roosen@lurch.nist.gov)
Fri, 17 Jan 1997 10:19:55 -0500

To subscribers of the xforms list from "Andy Roosen" <roosen@lurch.nist.gov> :

On Jan 16, 5:35pm, Rick Cook wrote:
> Subject: Text invisible in fl_add_input fields (was: Re: fl_set_input)
> To subscribers of the xforms list from Rick Cook <cook@vs.lmco.com> :
>
> With version 0.81 -
>
> I am also having problems with "visibility" for the contents of
> input fields. I followed Mr. Ernst's suggestion to "insure" the
> color definitions. No matter what color I defined for the textcolor,
> the text remained invisible, however, the cursorcolor was applied
> correctly. I have even attempted removing all "style" type definitions
> from the code. Still no text visible in the input fields when typing
> or when writing using fl_set_input.
>
> An example of one input field definition:
>
> fdui->rate = obj = fl_add_input(FL_FLOAT_INPUT,330,130,110,20,"Rate");
^^
I had exactly this same problem: it turns out that the text is invisible
if the height is less than 22 for the input field.

Andrew Roosen

-- 

===================================================================== = Andrew R. Roosen, Ph.D. = Computer Operations Administrator = Center for Theoretical and Computational Materials Science = National Institute of Standards and Technology = = Roosen@ctcms.nist.gov = http://www.ctcms.nist.gov/~roosen/ =====================================================================