|
From: Joe E. <jen...@fl...> - 2006-02-16 21:16:25
|
Mats Bengtsson wrote:
>
> I'm trying to make a solid border frame that is so frequently used on Aqua
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> but it always get black. [...]
Do you have any screenshots demonstrating the border style you're
looking for? (Or better yet, the name of the Appearance Manager
API routine used to draw them? :-)
I can't find any Aqua apps or controls that have "solid"
(in the Tk/Motif sense) borders; most use rounded corners,
or in some cases solid horizontal separators.
> What is wrong with:
> style layout BorderFrame {
> BorderFrame.border -sticky nswe
> }
> style configure BorderFrame \
> -relief solid -borderwidth 1 -background gray50
The Tile Aqua theme inherits the default *.border element,
which in turn just calls Tk_Draw3DBorder, where the border color
for TK_RELIEF_SOLID is hardcoded to black. But I've got more border
styles than you can shake a stick at over in the half-bakery [*],
one of them will probably work.
--Joe English
jen...@fl...
[*] <URL: http://www.flightlab.com/~joe/repos/themebag/ >
|