|
From: Jeff H. <je...@Ac...> - 2005-08-12 18:33:34
|
> I think I've convinced myself that [ttk::labelframe] ought
> to drop the -relief option altogether. On CUA-descendant
> platforms (Win2K/Motif/etc.), you almost always want "-relief
> groove"; but "groove" is a totally inappropriate description
> of how groupbox borders look on XP and OSX.
>
> The theme engine could: (a) selectively ignore -relief values
> that aren't appropriate for the platform; (b) DWIM ("you
> asked for a grooved border, but that won't look right on a
> Mac, so we'll just do a curvy shaded border instead"); or (c)
> take it literally ("OK, you asked for -relief groove, I'll
> draw a Motif border, even though this really won't look
> right..."). Tile currently does a combination of these three
> in various places; but it would be more in keeping with the
> general philosophy to do (d) remove the "-relief" widget
> option completely.
I think removing the -relief option should be done in concert
with improving the ability to adjust labelframe styles. If
I can't remove the relief altogether (-relief flat), then it
restricts labelframe's usefulness.
> That's part of it; the other part is that "semi-transparent"
> widgets like checkbuttons and radiobuttons appearing inside
> the groupbox also need to have a darker background.
Right, they need to adapt from their parent ... the background
problem. :/
Jeff
|