diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-11-09 12:39:20 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-11-09 17:20:20 +0100 |
commit | 79e2d6d31a9790527c37a5527165d7b250ea1a32 (patch) | |
tree | d76179ed47ca1bc88fcac59d2d6018f6f8bc4a34 /xA | |
parent | 76597e3dfd1fbb829ef4e517f256a550d811fa1c (diff) | |
download | xK-79e2d6d31a9790527c37a5527165d7b250ea1a32.tar.gz xK-79e2d6d31a9790527c37a5527165d7b250ea1a32.tar.xz xK-79e2d6d31a9790527c37a5527165d7b250ea1a32.zip |
WIP: xA: improve styling
Diffstat (limited to 'xA')
-rw-r--r-- | xA/xA.go | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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() |