aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xA/xA.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/xA/xA.go b/xA/xA.go
index 6459236..20d814a 100644
--- a/xA/xA.go
+++ b/xA/xA.go
@@ -977,13 +977,19 @@ func main() {
wStatus = widget.NewLabelWithStyle(
"", fyne.TextAlignTrailing, fyne.TextStyle{})
wEntry = widget.NewMultiLineEntry()
+
+ top := container.NewVBox(
+ wTopic,
+ widget.NewSeparator(),
+ )
bottom := container.NewVBox(
widget.NewSeparator(),
container.NewBorder(nil, nil, wPrompt, wStatus),
wEntry,
)
- wWindow.SetContent(container.NewBorder(
- wTopic, bottom, wBufferList, nil, wRichScroll))
+ split := container.NewHSplit(wBufferList, wRichScroll)
+ split.SetOffset(0.25)
+ wWindow.SetContent(container.NewBorder(top, bottom, nil, nil, split))
go relayRun()