MGSmartFlow é um layout customizado para Fyne que facilita a criação de interfaces dinâmicas baseadas em linhas e colunas, com controle inteligente de espaçamento, redimensionamento e posicionamento de widgets.
Ele foi projetado para simplificar layouts complexos sem depender apenas dos layouts padrões do Fyne.
- 📐 Layout por linhas e colunas
- 📏 Redimensionamento automático ou fixo por widget
- 🧭 Posicionamento manual opcional
↔️ Espaçamento global ou individual- 🔄 Atualização dinâmica do layout
- 🧩 Wrapper simples para uso direto
go get github.com/profmugomes/mgsmartflowflow := mgsmartflow.New()flow.AddRow(widget.NewLabel("Linha única"))flow.AddColumn(
widget.NewButton("Botão 1", nil),
widget.NewButton("Botão 2", nil),
)flow.Resize(btn, 120, 40)flow.Move(btn, 10, 20)flow.Gap(btn, 15, 10)flow.GlobalGap(10, 10)- Go 1.26.5+
- Fyne 2.8.0
Murilo Gomes Julio
🔗 https://www.profmugomes.com.br
📺 https://youtube.com/@profmugomes
Copyright (c) 2025-2026 Murilo Gomes Julio. All Rights Reserved.
This project is licensed under the PolyForm Perimeter License 1.0.1.
This software is available for commercial and noncommercial use, subject to the terms of the PolyForm Perimeter License 1.0.1.
You may:
- ✔ Use the software for commercial and noncommercial purposes.
- ✔ Inspect and study the source code.
- ✔ Modify the software.
- ✔ Create derivative works based on the software.
- ✔ Redistribute the software and permitted modifications.
You may not:
- ✖ Provide a product that competes with the software.
See the full license terms at LICENSE.md.
This summary is provided for convenience only and does not replace or modify the full license terms.