...
This commit is contained in:
parent
2c6cc6f047
commit
eaec854bfb
@ -642,6 +642,7 @@ class Fat(Tall): # {{{
|
|||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
|
# Grid {{{
|
||||||
@lru_cache()
|
@lru_cache()
|
||||||
def calc_grid_size(n):
|
def calc_grid_size(n):
|
||||||
if n <= 5:
|
if n <= 5:
|
||||||
@ -656,7 +657,7 @@ def calc_grid_size(n):
|
|||||||
return ncols, nrows, special_rows, special_col
|
return ncols, nrows, special_rows, special_col
|
||||||
|
|
||||||
|
|
||||||
class Grid(Layout): # {{{
|
class Grid(Layout):
|
||||||
|
|
||||||
name = 'grid'
|
name = 'grid'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user