Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/Views/SystemView/SystemStorageView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ public class Monitor.SystemStorageView : Gtk.Box {
}

construct {
var drive_name_label = new Gtk.Label (drive.model) {
halign = START
var drive_name_label = new Granite.HeaderLabel (drive.model) {
size = H3
};
drive_name_label.add_css_class (Granite.STYLE_CLASS_H3_LABEL);

string size_string = format_size ((uint64) drive.size, IEC_UNITS);
string used_string = format_size ((uint64) (drive.size - drive.free), IEC_UNITS);
Expand Down
7 changes: 4 additions & 3 deletions src/Widgets/WidgetResource/WidgetResource.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Monitor.WidgetResource : Gtk.Box {
private Gtk.Box header_box;
private Gtk.Overlay main_overlay;
private Gtk.Box info_box;
private Gtk.Label main_metric_label;
private Granite.HeaderLabel main_metric_label;

construct {
_title = new Granite.HeaderLabel (Utils.NO_DATA);
Expand All @@ -39,8 +39,9 @@ public class Monitor.WidgetResource : Gtk.Box {
main_metric_title.add_css_class (Granite.CssClass.DIM);
main_metric_title.add_css_class (Granite.CssClass.SMALL);

main_metric_label = new Gtk.Label (Utils.NO_DATA);
main_metric_label.add_css_class (Granite.STYLE_CLASS_H2_LABEL);
main_metric_label = new Granite.HeaderLabel (Utils.NO_DATA) {
size = H2
};

var main_metric_box = new Gtk.Box (VERTICAL, 0) {
margin_top = 6,
Expand Down