mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-11 23:54:22 +08:00
fix size
This commit is contained in:
parent
0937f416ba
commit
73991ce3a2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue