aboutsummaryrefslogtreecommitdiff
path: root/xA
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-11-09 12:39:20 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-11-09 17:20:20 +0100
commit79e2d6d31a9790527c37a5527165d7b250ea1a32 (patch)
treed76179ed47ca1bc88fcac59d2d6018f6f8bc4a34 /xA
parent76597e3dfd1fbb829ef4e517f256a550d811fa1c (diff)
downloadxK-79e2d6d31a9790527c37a5527165d7b250ea1a32.tar.gz
xK-79e2d6d31a9790527c37a5527165d7b250ea1a32.tar.xz
xK-79e2d6d31a9790527c37a5527165d7b250ea1a32.zip
WIP: xA: improve styling
Diffstat (limited to 'xA')
-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()