TouchGFX
touchgfx::ButtonWithLabel::updateTextPosition()
is only used within TouchGFX.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::updateTextPosition() method
@fn void ButtonWithLabel::updateTextPosition() Positions the label text as horizontally centered. If the text changes due to a language change you may need to reposition the label text to stay horizontally centered.
Syntax
from
ButtonWithLabel.hpp:155
void
updateTextPosition
(
)
;
Notes
The method does not invalidate the button. This must be done manually.
References
Location
Referrer
Scope
Text
ButtonWithLabel.hpp:155
void
updateTextPosition
(
)
ButtonWithLabel.hpp:58
touchgfx::ButtonWithLabel::setLabelText()
touchgfx::ButtonWithLabel
updateTextPosition
(
)
;
Call Tree
Functions calling
touchgfx::ButtonWithLabel::updateTextPosition()
Functions called by
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::setLabelText()
all items filtered out
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::Font::getSpacingAbove() const
touchgfx::Font::getMaxTextHeight() const
touchgfx::Font::getNumberOfLines() const
touchgfx::TypedText::getText() const
touchgfx::TypedText::getFont() const
all items filtered out
Data read by
touchgfx::ButtonWithLabel::updateTextPosition()
Data written by
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::typedText
touchgfx::ButtonWithLabel::updateTextPosition()::f
touchgfx::ButtonWithLabel::updateTextPosition()::s
all items filtered out
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::textHeightIncludingSpacing
all items filtered out
Type of
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::Unicode
touchgfx::Unicode::UnicodeChar
touchgfx::Font
all items filtered out