mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-07 21:17:15 +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,25 @@
|
||||
┌───────────────────┐
|
||||
│ Hello World │
|
||||
│ Hello Hello Hello │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└───────────────────┘
|
@ -0,0 +1,3 @@
|
||||
┌───────────────────────┐
|
||||
│ Hello World │
|
||||
└───────────────────────┘
|
@ -0,0 +1,25 @@
|
||||
┌────────────────────────────────────────────────┐
|
||||
│ Hello World │
|
||||
│ Hello Hello Hello │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└────────────────────────────────────────────────┘
|
@ -0,0 +1,3 @@
|
||||
┌──────────────────┐
|
||||
│ Hello World │
|
||||
└──────────────────┘
|
Reference in New Issue
Block a user