MCPcopy Create free account
hub / github.com/ElementsProject/elements / TextWidth

Function TextWidth

src/qt/guiutil.cpp:961–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

959}
960
961int TextWidth(const QFontMetrics& fm, const QString& text)
962{
963#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
964 return fm.horizontalAdvance(text);
965#else
966 return fm.width(text);
967#endif
968}
969
970void LogQtInfo()
971{

Callers 6

SplashScreenMethod · 0.85
minimumSizeHintFunction · 0.85
updateSmartFeeLabelMethod · 0.85
calculateIdealFontSizeFunction · 0.85
PolishProgressDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected