MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setWrapWidth

Method setWrapWidth

source/windowing/StarLabelWidget.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void LabelWidget::setWrapWidth(Maybe<unsigned> wrapWidth) {
57 m_wrapWidth = std::move(wrapWidth);
58 updateTextRegion();
59}
60
61void LabelWidget::setLineSpacing(Maybe<float> lineSpacing) {
62 m_style.lineSpacing = lineSpacing.value(DefaultLineSpacing);

Callers 1

labelHandlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected