diff options
| author | Jeff Carr <[email protected]> | 2025-02-12 00:19:15 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-12 00:19:15 -0600 |
| commit | 0a6027244078ce36de31af64dfd01e561420d4e5 (patch) | |
| tree | 1542d1906d744e54b5326d115cb0c22c98812d9c /place.go | |
| parent | a575a08bccc666c776cfb5192528249039dcfbed (diff) | |
working on button disable
Diffstat (limited to 'place.go')
| -rw-r--r-- | place.go | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -145,9 +145,15 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) { case widget.Button: if tk.isWindowDense() && tk.isInGrid() { tk.frame = false - tk.color = nil - tk.defaultColor = nil - tk.setColorButtonDense() + // tk.color = nil + // tk.defaultColor = nil + /* + if tk.node.IsEnabled() { + tk.setColorButtonDense() + } else { + tk.setColorDisable() + } + */ // if tk.full.Height() > 0 { tk.full.h1 = tk.full.h0 // } |
