chore: try to make it single stack
This commit is contained in:
+1
-1
@@ -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)
|
||||||
)
|
)
|
||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user