MartinLemburg@Siemens-PLM <
martin.lembur...@gmx.net> wrote:
> Hi,
> I tried to apply high-contrst-theme colors to specific widgets like the labelframe or as bordercolor to a label or a frame.
> Since there is no border color attribute setting the color of a frame
> to influence its border
There is an attribute that influences the border color of a frame:
$ rlwrap wish
% frame .f -width 100 -height 100 -highlightbackground black -highlightthickness 5
.f
% pack .f
And I have a frame with a 5 pixel black border.
> and setting the background of each contained widget is the only way
> to change the frames border color.
Nope, see above.
> But how to change it for a labelframe
A labelframe with a black border:
$ rlwrap wish
% labelframe .lf -width 100 -height 100 -highlightthickness 5 -highlightbackground black
.lf
% pack .lf
> or a label without changing the whole appearance?
Label with border:
$ rlwrap wish
% label .l -text "Label Text" -highlightthickness 5 -highlightbackground black
.l
% pack .l
> Thanks in advance,
> Martin