mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-26 18:30:23 +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)
|
||||
bgColor := canvas.NewRectangle(color)
|
||||
return container.New(
|
||||
layout.NewMaxLayout(),
|
||||
layout.NewGridWrapLayout(fyne.NewSize(400, 100)),
|
||||
bgColor,
|
||||
btn,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user