diff options
author | Sean E. Russell <ser@ser1.net> | 2020-02-20 08:19:15 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-02-20 08:19:15 -0600 |
commit | 7b09a00230e059129e010039a159ef9ce7aecc11 (patch) | |
tree | 7583287cfc2fdc277d7d361ec484e17c3016a0af /layouts | |
parent | 66ad0f878540dee82ae2c2b5c561754b6480a157 (diff) |
Issue #56. Slight improvement in layout algorithm. Still doesn't handle > 2 columns well, but it's more correct and lays the foundation for a correct solution. It's clear, however, that a full table model parser will require a substantial rewrite and, possibly, a change in the layout syntax. That would add substantial complexity, so maybe for some future effort. I'll fix the basic column layout (rowspans at the edges), and then shelve it.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/kitchensink | 9 | ||||
-rw-r--r-- | layouts/many_columns_test | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/layouts/kitchensink b/layouts/kitchensink index 762ff91..5e25894 100644 --- a/layouts/kitchensink +++ b/layouts/kitchensink @@ -1,5 +1,4 @@ -cpu/2 mem/1 -3:temp/1 2:disk/2 - power - power -net procs +cpu/2 mem/1 +3:temp/1 2:disk/2 + power +net procs diff --git a/layouts/many_columns_test b/layouts/many_columns_test new file mode 100644 index 0000000..f2d57e3 --- /dev/null +++ b/layouts/many_columns_test @@ -0,0 +1,4 @@ +cpu/2 mem/1 6:procs/2 +3:temp/1 2:disk/2 +power +net procs |