On this page
widget.Separator
import "fyne.io/fyne/v2/widget"Usage
type Separator
type Separator struct {
BaseWidget
}Separator is a widget for displaying a separator with themeable color.
Since:
1.4func NewSeparator
func NewSeparator() *SeparatorNewSeparator creates a new separator.
Since:
1.4func (*Separator) CreateRenderer
func (s *Separator) CreateRenderer() fyne.WidgetRendererCreateRenderer returns a new renderer for the separator.
func (*Separator) MinSize
func (s *Separator) MinSize() fyne.SizeMinSize returns the minimal size of the separator.