From 2b15ac7c04211b319c247f7923fe4b5ebfed0516 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 4 Sep 2017 18:47:24 +0200 Subject: Buttons' size just for sake --- not/Button.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/not/Button.lua b/not/Button.lua index a2f7a19..3c6042d 100644 --- a/not/Button.lua +++ b/not/Button.lua @@ -15,6 +15,9 @@ function Button:new (parent) self.sprite, self.quads = parent:getSheet() end +function Button:getSize () + return 58, 15 + function Button:setText (text) self.text = text or "" return self -- cgit v1.1