mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-28 11:11:33 +08:00
fix size
This commit is contained in:
@@ -15,7 +15,7 @@ func ColoredText(text string, color color.Color) *fyne.Container {
|
|||||||
btn := widget.NewLabel(text)
|
btn := widget.NewLabel(text)
|
||||||
bgColor := canvas.NewRectangle(color)
|
bgColor := canvas.NewRectangle(color)
|
||||||
return container.New(
|
return container.New(
|
||||||
layout.NewMaxLayout(),
|
layout.NewGridWrapLayout(fyne.NewSize(400, 100)),
|
||||||
bgColor,
|
bgColor,
|
||||||
btn,
|
btn,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user