1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-26 13:17:39 +00:00

resizing now works properly

This commit is contained in:
kepler155c@gmail.com
2017-09-29 22:30:01 -04:00
parent 9cb7180f10
commit 5681b01810
7 changed files with 226 additions and 239 deletions

View File

@@ -71,19 +71,17 @@ local Browser = UI.Page {
},
grid = UI.ScrollingGrid {
columns = {
{ heading = 'Name', key = 'name', width = UI.term.width-11 },
{ key = 'flags', width = 2 },
{ heading = 'Size', key = 'fsize', width = 6 },
},
{ heading = 'Name', key = 'name' },
{ key = 'flags', width = 2 },
{ heading = 'Size', key = 'fsize', width = 6 },
},
sortColumn = 'name',
y = 2,
height = UI.term.height-2,
y = 2, ey = -2,
},
statusBar = UI.StatusBar {
columns = {
{ '', 'status', UI.term.width - 8 },
--{ '', 'info', 10 },
{ 'Size: ', 'totalSize', 8 },
{ key = 'status' },
{ key = 'totalSize', width = 6 },
},
},
accelerators = {