chore: try to make it single stack

This commit is contained in:
DaanSelen
2026-03-31 16:57:16 +02:00
parent 6ed9ce7741
commit 43920472f0
2 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -3,5 +3,5 @@ package main
import "fyne.io/fyne/v2" import "fyne.io/fyne/v2"
var ( var (
windowSize fyne.Size = fyne.NewSize(1280, 720) windowSize fyne.Size = fyne.NewSize(640, 720)
) )
+8 -4
View File
@@ -44,11 +44,15 @@ func MakeInput(targEntry *widget.Entry, book *string) *fyne.Container {
bookList, // center fills bookList, // center fills
) )
inputBox := container.New( inputBox := container.NewVBox(
layout.NewGridLayoutWithColumns(2), targetBox,
targetBox, // column 1 bookBox,
bookBox, // column 2
) )
//inputBox := container.New(
// layout.NewGridLayoutWithColumns(2),
// targetBox, // column 1
// bookBox, // column 2
//)
return inputBox return inputBox
} }