mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
Progress widgets: Better typography
Use a small space before %. https://bugzilla.gnome.org/show_bug.cgi?id=735192
This commit is contained in:
parent
e356841957
commit
b3e1bb1654
@ -373,7 +373,7 @@ recompute_label (GtkCellRendererProgress *cellprogress)
|
||||
if (priv->text)
|
||||
label = g_strdup (priv->text);
|
||||
else if (priv->pulse < 0)
|
||||
label = g_strdup_printf (C_("progress bar label", "%d %%"), priv->value);
|
||||
label = g_strdup_printf (C_("progress bar label", "%d %%"), priv->value);
|
||||
else
|
||||
label = NULL;
|
||||
|
||||
@ -466,7 +466,7 @@ gtk_cell_renderer_progress_get_size (GtkCellRenderer *cell,
|
||||
|
||||
if (priv->min_w < 0)
|
||||
{
|
||||
text = g_strdup_printf (C_("progress bar label", "%d %%"), 100);
|
||||
text = g_strdup_printf (C_("progress bar label", "%d %%"), 100);
|
||||
compute_dimensions (cell, widget, text,
|
||||
&priv->min_w,
|
||||
&priv->min_h);
|
||||
|
Loading…
Reference in New Issue
Block a user