barmalei / zebkit

JavaScript library that follows easy OOP concept, provides HTML5 Canvas based Rich UI and includes Java to JavaScript converter tool
Apache License 2.0
931 stars 177 forks source link

window #154

Closed xzxiang closed 6 years ago

xzxiang commented 6 years ago

The upper right corner of the dark mode window does not display the closing button, dark mode: ui.json: Add the following part ,But it does not show the closing button

"pictures" : {
    "zebkit" : "%{<img> zebkit.png}"
},
"buttons"   : {
            "close": {
                "view" : {
                    "over"   : { "@zebkit.draw.Picture": [ "%{pictures.zebkit}",16,0,16,16   ]},
                    "out"    : { "@zebkit.draw.Picture": [ "%{pictures.zebkit}",0,0,16,16    ]},
                    "pressed": { "@zebkit.draw.Picture": [ "%{pictures.zebkit}",32,0,16,16   ]}
                }
            }
        }
barmalei commented 6 years ago

Try to copy "zebkit.png" from "themes/light" folder into "themes/dark" folder.