chore: try to make it single stack
This commit is contained in:
+2
-2
@@ -3,5 +3,5 @@ package main
|
||||
import "fyne.io/fyne/v2"
|
||||
|
||||
var (
|
||||
windowSize fyne.Size = fyne.NewSize(1280, 720)
|
||||
)
|
||||
windowSize fyne.Size = fyne.NewSize(640, 720)
|
||||
)
|
||||
|
||||
@@ -44,11 +44,15 @@ func MakeInput(targEntry *widget.Entry, book *string) *fyne.Container {
|
||||
bookList, // center fills
|
||||
)
|
||||
|
||||
inputBox := container.New(
|
||||
layout.NewGridLayoutWithColumns(2),
|
||||
targetBox, // column 1
|
||||
bookBox, // column 2
|
||||
inputBox := container.NewVBox(
|
||||
targetBox,
|
||||
bookBox,
|
||||
)
|
||||
//inputBox := container.New(
|
||||
// layout.NewGridLayoutWithColumns(2),
|
||||
// targetBox, // column 1
|
||||
// bookBox, // column 2
|
||||
//)
|
||||
return inputBox
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user