I'm having issues with awthemes and awdark.
The buttons padding is in most cases 0 and I want to reset it to original values.
I could identify the settings (I think) in awthemes.tcl, where the *.padding properties are set, for example:
set vars(names.colors.derived) { \
other checkbutton.padding {5 0 1 2} static
But changing the values here have no effect, the icon or text in the buttons (normal ttk::button, checkbutton, ratiobutton with -style Toolbutton) have no margin an go up to the button edge.
Here is how to test:
package require ttk::theme::awdark
ttk::style theme use awdark
pack [::ttk::button .b -text Test -style Toolbutton]
Can anywone help?
Many thanks
Alex
The {list} can be 1, 2, or 4 values, with something like left, right, top, bottom. If you use less than 4 you'll have to try it out, because I don't know where that's documented how it fills in the 4 if some are left out. They call it padding but don't say what that is.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,104 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492390:06:23 |
| Calls: | 14,151 |
| Calls today: | 2 |
| Files: | 186,281 |
| D/L today: |
2,871 files (1,060M bytes) |
| Messages: | 2,501,217 |
| Posted today: | 1 |