gui refactoring and restyling

This commit is contained in:
Manuel Simon Hirsig
2016-07-26 03:28:31 +02:00
parent abba589092
commit 2aae68702e
3 changed files with 10 additions and 13 deletions
+1 -2
View File
@@ -5,7 +5,7 @@ local ST_COUNT = 0
local ST_ROW_HEIGHT = 15
local ST_ROW_TEXT_SIZE = 13
local ST_HEAD_HEIGHT = 27
local ST_HEAD_SPACE = 4
local ST_HEAD_SPACE = 2
local DEFAULT_COL_INFO = {{width=1}}
@@ -402,7 +402,6 @@ local methods = {
SetColInfo = function(st, colInfo)
colInfo = colInfo or DEFAULT_COL_INFO
-- TSMAPI:Assert(type(colInfo) == 'table' and type(colInfo[1]) == 'table', "Invalid colInfo argument.")
st.colInfo = colInfo
st:Redraw()
end,