Grayed-out entry widget.
From: Roberta Hatch (bhatch_at_luhar.net)
Date: 03/26/05
- Next message: Jeff Godfrey: "Re: Grayed-out entry widget."
- Previous message: Jeff Hobbs: "Re: NDA agreements"
- Next in thread: Jeff Godfrey: "Re: Grayed-out entry widget."
- Reply: Jeff Godfrey: "Re: Grayed-out entry widget."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 26 Mar 2005 21:00:22 +0000 (UTC)
I finally decided to go from 8.2 to 8.4.9. Anywho, with
8.2 I define an entry widget as follows:
entry .typelabel -relief groove -bg white -fg black -width 20 \
-textvariable SHOW -font {times 10 bold} -borderwidth 3 -state disabled
This entry widget isn't really intended for the user to enter a
value from the keyboard. The entry is taken from a menubutton's menu.
With 8.2, the bg is always white and the fg is always black and that's
the way I want it.
With 8.4.9, the bg is grayed-out because its state is disabled[1],
but the border is still white. Ick!
What I want to know is if there a way to get around the graying-out.
It's really annoying becuase... well, because it's ugly.
Yes, I know I could make it a label widget instead of an entry
widget (that's the way it was at first -- you can tell by the name), but
I want to keep the looks of the entry widget becuase it sits below another
entry widget and they look good together.
I'm only using the core, not anything fancy, and I want to keep it
that way too.
1. Just in case some wisenhimer wants to suggest I change the bg to gray
insead of white as a fix, I already thought of that. The fg is changed
to a shade or two darker gray too. I want a black fg and I don't want a
different color for the border.
Always the newbie,
B.H.
- Next message: Jeff Godfrey: "Re: Grayed-out entry widget."
- Previous message: Jeff Hobbs: "Re: NDA agreements"
- Next in thread: Jeff Godfrey: "Re: Grayed-out entry widget."
- Reply: Jeff Godfrey: "Re: Grayed-out entry widget."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]