[gnome-builder] run-button: fix spacing under RTL languages



commit 2d35a6eb91082eebb2a13bfcacf27ac93c9a4c39
Author: Christian Hergert <chergert redhat com>
Date:   Mon Oct 10 13:29:40 2016 -0700

    run-button: fix spacing under RTL languages
    
    This does the same treatment as the perspective selector to
    adjust spacing when under an RTL language.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772701

 libide/runner/ide-run-button.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/runner/ide-run-button.c b/libide/runner/ide-run-button.c
index f4a75a3..59a31aa 100644
--- a/libide/runner/ide-run-button.c
+++ b/libide/runner/ide-run-button.c
@@ -93,11 +93,11 @@ create_row (const IdeRunHandlerInfo *info,
       xaccel = gtk_accelerator_get_label (accel_key, accel_mod);
       label = g_object_new (GTK_TYPE_LABEL,
                             "label", xaccel,
-                            "margin-start", 20,
                             "visible", TRUE,
                             "xalign", 0.0f,
                             NULL);
       ide_widget_add_style_class (GTK_WIDGET (label), "dim-label");
+      ide_widget_add_style_class (GTK_WIDGET (label), "accel");
       gtk_container_add_with_properties (GTK_CONTAINER (box), GTK_WIDGET (label),
                                          "pack-type", GTK_PACK_END,
                                          NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]