|
|
 |
 |
 |
 |
TCL(Tool Command Language) Scripting
|
 |
 |
 |
 |
 |
 |
 |
 |
Tablelist_tile highlightthickness
Reading the Tablelist documents, I see this warning: "The -highlightbackground, -highlightcolor, and -highlightthickness options are only supported by the Tablelist package, but not by Tablelist_tile. " Indeed this is true. I've had some complaints about the appearance of my tablelist_tile displays on OS X, see the link below: http://www.codebykevin.com/portauthority-running.png The black border around the tables doesn't fit in with standard Mac widgets, and I can't configure the color as a workaround to a point where it's Close Enough. Is there any way to enable the standard highlight options? -- Kevin Walzer Code by Kevin http://www.codebykevin.com
On 28 Mai, 05:23, Kevin Walzer <k@codebykevin.com> wrote: > Reading the Tablelist documents, I see this warning: > "The -highlightbackground, -highlightcolor, and -highlightthickness > options are only supported by the Tablelist package, but not by > Tablelist_tile. "
This is because tile (or ttk since 8.5a6) has dropped some options from direct access through the widget command. Nevertheless you can change most (or all?) of the visual options by changing the style like so style configure TLabelframe -padding 8 Don't know exactly what tablelist uses for the outer widget so you have to find out and change the appropriate style option for this. Hope this helps a bit Uwe P.S. If you have provided a minimal example with code, I could have been able to test, but without I have to guess ...
koloska wrote: > On 28 Mai, 05:23, Kevin Walzer <k @codebykevin.com> wrote: >> Reading the Tablelist documents, I see this warning: >> "The -highlightbackground, -highlightcolor, and -highlightthickness >> options are only supported by the Tablelist package, but not by >> Tablelist_tile. " > This is because tile (or ttk since 8.5a6) has dropped some options > from direct access through the widget command. Nevertheless you can > change most (or all?) of the visual options by changing the style like > so > style configure TLabelframe -padding 8 > Don't know exactly what tablelist uses for the outer widget so you > have to find out and change the appropriate style option for this. > Hope this helps a bit > Uwe > P.S. If you have provided a minimal example with code, I could have > been able to test, but without I have to guess ...
OK, so this is because of the way Tile defines its styles. As a result, getting the right look in Tablelist_tile probably requires a lot of low-level hacking of both Tile style options and perhaps Tablelist itself--and, of course, the entire purpose of Tile is to remove some of this configurability in favor of platform-specific theming. I understand. -- Kevin Walzer Code by Kevin http://www.codebykevin.com
Kevin Walzer schrieb: > Reading the Tablelist documents, I see this warning: > "The -highlightbackground, -highlightcolor, and -highlightthickness > options are only supported by the Tablelist package, but not by > Tablelist_tile. " > Indeed this is true. I've had some complaints about the appearance of my > tablelist_tile displays on OS X, see the link below: > http://www.codebykevin.com/portauthority-running.png > The black border around the tables doesn't fit in with standard Mac > widgets, and I can't configure the color as a workaround to a point > where it's Close Enough. Is there any way to enable the standard > highlight options?
Sorry for not having been able to respond earlier (I have been out of town for over two weeks). That black border around the tables is caused by the OS X-specific default value "solid" of the "-relief" configuration option. You can replace it with another value (and also change the value of the "-borderwidth" option if you want). For example, you can use -relief flat -borderwidth 0 which will eliminate the border. Actually, (on OS X) it is better to use a borderless table and embed it, along with its scrollbar(s), into a Tk or tile frame with border and highlight-border. Unfortunately, there is no configuration option for Tk or tile frames (and other widgets) providing the typical OS X-specific highlight-border (as known from the Tk and tile entry widgets). -- Csaba Nemethi http://www.nemethi.de mailto:csaba.neme@t-online.de
|
 |
 |
 |
 |
|