Skip to content

Commit

Permalink
Set font size for progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
bdubbs committed Jan 25, 2024
1 parent 716980e commit 9df04b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sysmon-qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ void sysmon_qt::setup_cpuLoad()
load = new QProgressBar();
load->setRange( 0, 100 );
load->setValue( 0 );
load->setFont( font_normal );

// Set palette
QPalette p = load->palette();
Expand Down Expand Up @@ -270,6 +271,7 @@ void sysmon_qt::setup_memory()

memory = new QProgressBar();
memory->setRange( 0, 100 );
memory->setFont( font_normal );

// set palette
QPalette p = memory->palette();
Expand Down

0 comments on commit 9df04b5

Please sign in to comment.