mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-07 13:08:14 +08:00
Add Layout widget (#1041)
* Add width to panels * Add height to panels * Replace RenderContext with RenderOptions * Remove exclusivity from alternative buffer * Add Layout widget * Add Align widget
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
┌────────┬────────┬───────┐
|
||||
│ Foo │ Bar │ Baz │
|
||||
├────────┼────────┼───────┤
|
||||
│ Qux │ Corgi │ Waldo │
|
||||
│ Grault │ Garply │ Fred │
|
||||
└────────┴────────┴───────┘
|
@ -0,0 +1,6 @@
|
||||
┌────────┬────────┬───────┐
|
||||
│ Foo │ Bar │ Baz │
|
||||
├────────┼────────┼───────┤
|
||||
│ Qux │ Corgi │ Waldo │
|
||||
│ Grault │ Garply │ Fred │
|
||||
└────────┴────────┴───────┘
|
@ -0,0 +1,6 @@
|
||||
┌────────┬────────┬───────┐
|
||||
│ Foo │ Bar │ Baz │
|
||||
├────────┼────────┼───────┤
|
||||
│ Qux │ Corgi │ Waldo │
|
||||
│ Grault │ Garply │ Fred │
|
||||
└────────┴────────┴───────┘
|
Reference in New Issue
Block a user