RE: [Tktable] border
by Shawn Kielty other posts by this author
Nov 29 2004 3:35AM messages near this date
RE: [Tktable] border
|
RE: [Tktable] help regarding tktable
I find that if I change the background color of the table widget to white --
the three-d effect is diminished considerably. Using a borderwidth of 1 --
it then gives what appears to be a thin separating line (I am slightly blind
too -- which may help). This may be affected by user preferring non
standard colors. The same may be true in reverse video with (bg) black. I
haven't written any code lately for any unix platform -- so this is probably
windows specific.
# From some of my code
table $table -bg white -cols 18 -cache 1 -selecttype row -width 180 -font
{{Agency FB} 12} -colstretchmode all -titlerows 1 -titlecols
-roworigin -1 -colorigin -1
# end of snippet
Changing the relief to solid produces a flat looking cell seperation --
however -- it doesn't seem to work when -bd == 1, and it's a bit strange
when the selection is made if -bd > 1.
Shawn
-----Original Message-----
From: tktable-users-admin@[...].net
[mailto:tktable-users-admin@[...].net]On Behalf Of Jeff
Hobbs
Sent: Thursday, November 25, 2004 10:42 AM
To: 'Seena'; tktable-users@[...].net
Subject: RE: [Tktable] border
> Can we set the border color of Tktable ?Also if i set the relief as
> flat it won't display the border lines at all.Can i somehow
> get rid of the 3d effect?
The border color is derived from the current cell, it cannot
be set separately. The borders are the borders, so if you
make them flat, there are no borders. If you want to get
rid of the 3D effect, try -bd {1 1 0 0}, or -drawmode single.
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users
Thread:
Seena
Jeff Hobbs
Shawn Kielty
|