feat: add separator line

This commit is contained in:
DaanSelen
2026-04-01 10:06:21 +02:00
parent 5d8b9909c3
commit 4f07c2cfe2
+3 -9
View File
@@ -1,9 +1,11 @@
package draw package draw
import ( import (
"image/color"
"log" "log"
"fyne.io/fyne/v2" "fyne.io/fyne/v2"
"fyne.io/fyne/v2/canvas"
"fyne.io/fyne/v2/container" "fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/widget" "fyne.io/fyne/v2/widget"
@@ -20,6 +22,7 @@ func MakeInput(targEntry *widget.Entry, book *string) *fyne.Container {
targetBox := container.NewVBox( targetBox := container.NewVBox(
widget.NewLabel("MeshCentral Target Group"), widget.NewLabel("MeshCentral Target Group"),
targEntry, targEntry,
canvas.NewLine(color.Gray{Y: 128}),
) )
bookList := widget.NewList( bookList := widget.NewList(
@@ -48,15 +51,6 @@ func MakeInput(targEntry *widget.Entry, book *string) *fyne.Container {
nil, nil, nil, nil, nil, nil,
bookBox, bookBox,
) )
//inputBox := container.NewVBox(
// targetBox,
// bookBox,
//)
//inputBox := container.New(
// layout.NewGridLayoutWithColumns(2),
// targetBox, // column 1
// bookBox, // column 2
//)
return inputBox return inputBox
} }