MCPcopy Create free account
hub / github.com/cogentcore/core / Style

Method Style

core/textfield.go:1805–1808  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1803}
1804
1805func (tf *TextField) Style() {
1806 tf.WidgetBase.Style()
1807 tf.CursorWidth.ToDots(&tf.Styles.UnitContext)
1808}
1809
1810func (tf *TextField) configTextSize(sz math32.Vector2) math32.Vector2 {
1811 st := &tf.Styles

Callers

nothing calls this directly

Calls 2

StyleMethod · 0.65
ToDotsMethod · 0.45

Tested by

no test coverage detected