touchgfx::ButtonWithLabel::updateTextPosition() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::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

void updateTextPosition();

Notes

The method does not invalidate the button. This must be done manually.

References

Call Tree

Functions calling touchgfx::ButtonWithLabel::updateTextPosition()
Functions called by touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::updateTextPosition()
Data read by touchgfx::ButtonWithLabel::updateTextPosition()
Data written by touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::updateTextPosition()::f
touchgfx::ButtonWithLabel::updateTextPosition()::s
all items filtered out
touchgfx::ButtonWithLabel::updateTextPosition()
Type of touchgfx::ButtonWithLabel::updateTextPosition()
touchgfx::ButtonWithLabel::updateTextPosition()