dsp_stats: aesthetic tweaks to text and padding

This commit is contained in:
Ben Loftis 2022-12-26 07:53:05 -06:00
parent d5160b6e8c
commit a5378e559a
1 changed files with 6 additions and 3 deletions

View File

@ -89,12 +89,15 @@ DspStatisticsGUI::DspStatisticsGUI ()
info_text.set_markup (_("The measurements shown below are <b>worst case</b>.\n" info_text.set_markup (_("The measurements shown below are <b>worst case</b>.\n"
"\n" "\n"
"This is more important in determining system load\n" "This is more important in determining system load\n"
"than an average. To see average values mouse-over\n" "than an average. To see average values, mouse-over\n"
"any line")); "any line:"));
Gtk::Alignment *i_align = Gtk::manage (new Gtk::Alignment());
i_align->set_padding (6, 6, 6, 6);
i_align->add (info_text);
Gtk::Frame* frame = manage (new Gtk::Frame); Gtk::Frame* frame = manage (new Gtk::Frame);
frame->set_shadow_type (Gtk::SHADOW_IN); frame->set_shadow_type (Gtk::SHADOW_IN);
frame->add (info_text); frame->add (*i_align);
pack_start (*frame, false, false); pack_start (*frame, false, false);
pack_start (table, true, true, 20); pack_start (table, true, true, 20);