From 79e2d6d31a9790527c37a5527165d7b250ea1a32 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 9 Nov 2024 12:39:20 +0100 Subject: WIP: xA: improve styling --- xA/xA.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'xA') 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() -- cgit v1.2.3-70-g09d2