~pierrec/giox

f2af8f824417422c9374715fb0229001c073a3f7 — pierre 8 months ago 8683249
widgetx/materialx: added comments to ModalAlertStyle

Signed-off-by: pierre <pierre.curto@gmail.com>
1 files changed, 2 insertions(+), 1 deletions(-)

M widgetx/materialx/modal.go
M widgetx/materialx/modal.go => widgetx/materialx/modal.go +2 -1
@@ 20,6 20,7 @@ import (
)

type ModalAlertStyle struct {
	// Active indicates whether or not the modal is displayed.
	Active     bool
	Modal      widgetx.Modal
	Background color.NRGBA


@@ 28,7 29,7 @@ type ModalAlertStyle struct {
	Title material.LabelStyle
	// Message is displayed after the title.
	Message material.LabelStyle
	// Actions are' displayed along their axis at the bottom of the modal.
	// Actions are displayed along their axis at the bottom of the modal.
	ActionAxis   layout.Axis
	ActionStyles []material.ButtonStyle
	clicks       []widget.Clickable