mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
inspector: Refine typography
Use thin spaces in the formatting of monitor sizes.
This commit is contained in:
parent
c2d4fd6b93
commit
449a9c419a
@ -323,8 +323,8 @@ init_display (GtkInspectorGeneral *gen)
|
||||
wmm = gdk_screen_get_monitor_width_mm (screen, i);
|
||||
hmm = gdk_screen_get_monitor_height_mm (screen, i);
|
||||
scale = gdk_screen_get_monitor_scale_factor (screen, i);
|
||||
text = g_strdup_printf ("%d × %d%s, %d × %d mm²",
|
||||
w, h, scale == 2 ? " @ 2" : "",
|
||||
text = g_strdup_printf ("%d × %d%s, %d × %d mm²",
|
||||
w, h, scale == 2 ? " @ 2" : "",
|
||||
wmm, hmm);
|
||||
label = gtk_label_new (text);
|
||||
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user