MCPcopy Create free account
hub / github.com/lxn/walk / SetTextAlignment

Method SetTextAlignment

datelabel.go:62–68  ·  view source on GitHub ↗
(alignment Alignment1D)

Source from the content-addressed store, hash-verified

60}
61
62func (dl *DateLabel) SetTextAlignment(alignment Alignment1D) error {
63 if alignment == AlignDefault {
64 alignment = AlignNear
65 }
66
67 return dl.setTextAlignment1D(alignment)
68}
69
70func (dl *DateLabel) Date() time.Time {
71 return dl.date

Callers 2

CreateMethod · 0.95
NewDateLabelFunction · 0.45

Calls 1

setTextAlignment1DMethod · 0.80

Tested by

no test coverage detected