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

Method setMonospacedFont

src/qt/overviewpage.cpp:338–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void OverviewPage::setMonospacedFont(bool use_embedded_font)
339{
340 QFont f = GUIUtil::fixedPitchFont(use_embedded_font);
341 f.setWeight(QFont::Bold);
342 ui->labelBalance->setFont(f);
343 ui->labelUnconfirmed->setFont(f);
344 ui->labelImmature->setFont(f);
345 ui->labelTotal->setFont(f);
346 ui->labelWatchAvailable->setFont(f);
347 ui->labelWatchPending->setFont(f);
348 ui->labelWatchImmature->setFont(f);
349 ui->labelWatchTotal->setFont(f);
350}

Callers

nothing calls this directly

Calls 1

fixedPitchFontFunction · 0.85

Tested by

no test coverage detected