summaryrefslogtreecommitdiff
path: root/widgetDraw.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgetDraw.go')
-rw-r--r--widgetDraw.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgetDraw.go b/widgetDraw.go
index 6da9fcd..0d99d4a 100644
--- a/widgetDraw.go
+++ b/widgetDraw.go
@@ -193,7 +193,7 @@ func (tk *guiWidget) drawView() {
switch tk.WidgetType() {
case widget.Button:
if tk.IsEnabled() {
- if tk.isWindowDense() && tk.isInGrid() {
+ if tk.isDense() && tk.isInGrid() {
tk.setColorButtonDense()
} else {
tk.setColorButton()