On this page
widget.CustomTextGridStyle
import "fyne.io/fyne/v2/widget"Usage
type CustomTextGridStyle
type CustomTextGridStyle struct {
// Since: 2.5
TextStyle fyne.TextStyle
FGColor, BGColor color.Color
}CustomTextGridStyle is a utility type for those not wanting to define their own style types.
func (*CustomTextGridStyle) BackgroundColor
func (c *CustomTextGridStyle) BackgroundColor() color.ColorBackgroundColor is the color a cell should use for the background.
func (*CustomTextGridStyle) Style
func (c *CustomTextGridStyle) Style() fyne.TextStyleStyle is the text style a cell should use.
func (*CustomTextGridStyle) TextColor
func (c *CustomTextGridStyle) TextColor() color.ColorTextColor is the color a cell should use for the text.