summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
Diffstat (limited to 'place.go')
-rw-r--r--place.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/place.go b/place.go
index 0eb0074..2cffe34 100644
--- a/place.go
+++ b/place.go
@@ -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
// }