Basic GUI client, login dialog, various comments fixes after copypaste.
Some checks failed
Linting and tests / Linting (push) Failing after 6s

This commit is contained in:
2025-09-13 09:23:47 +05:00
parent 91bc3acb08
commit 0c37f46b53
24 changed files with 507 additions and 56 deletions

View File

@@ -0,0 +1,21 @@
package widgets
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/widget"
)
// ToolbarLabel is a label widget for toolbar.
type ToolbarLabel struct {
*widget.Label
}
// NewToolbarLabelWithLabel creates new toolbar label with passed label as base widget.
func NewToolbarLabelWithLabel(label *widget.Label) widget.ToolbarItem {
return &ToolbarLabel{label}
}
// ToolbarObject returns toolbar item.
func (tl *ToolbarLabel) ToolbarObject() fyne.CanvasObject {
return tl.Label
}