Commit graph

8 commits

Author SHA1 Message Date
Matthias Richter
18880de088 Actually revert changes in :push() (commit 09a4583) 2016-01-16 02:26:05 +01:00
Matthias Richter
09a458386c Revert change in :push(), remove :pos()
Revert signature if layout:push(x,y, padx,pady) to layout:push(x,y)
Makes it possible to use the idiomatic layout:push(layout:row()) again.
(layout:row() returns x,y, w,h of last cell)

Remove layout:pos([x,y]) because it's not needed and potentially confusing.
2016-01-16 02:08:36 +01:00
Matthias Richter
36c446cdcc Code cleanup, fix edge cases 2016-01-12 21:49:12 +01:00
Matthias Richter
fb7bed76f6 Add helper for nested layouts 2016-01-12 21:12:40 +01:00
Matthias Richter
b0b2e6561d Fix #25 - Throw error when trying to construct an empty cell. 2016-01-03 18:47:52 +01:00
Matthias Richter
652291c175 Correct license header 2016-01-01 21:38:20 +01:00
Matthias Richter
0af9460410 Expose padding function 2016-01-01 21:36:43 +01:00
Matthias Richter
b5137a4477 LET THERE BE SUIT! 2015-12-31 18:23:52 +01:00