From c6f56932dee1819097d1f9afa933be4726b1ad35 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sat, 19 May 2018 03:11:01 -0400 Subject: xrandr-applet-popup: add a border to colored monitor labels --- plugins/xrandr/msd-xrandr-manager.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 8aeacc4..58b77f5 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -1693,6 +1693,9 @@ output_title_label_draw_cb (GtkWidget *widget, cairo_t *cr, gpointer data) g_string_append (string, ".mate-panel-menu-bar menuitem.xrandr-applet:disabled>box>label{\n"); g_string_append (string, "color: black;"); g_string_append (string, "padding-left: 4px; padding-right: 4px;"); + g_string_append (string, "border-style: inset;"); + g_string_append (string, "border-width: 1px;"); + g_string_append (string, "border-color: gray;"); g_string_append (string, "background-color:"); g_string_append (string, color_string); g_string_append (string," }"); @@ -1774,6 +1777,7 @@ make_menu_item_for_output_title (MsdXrandrManager *manager, MateRROutputInfo *ou ".mate-panel-menu-bar menuitem.xrandr-applet:disabled>box>image{\n" "opacity: 1.0; \n" "-gtk-icon-effect: none; \n" + "min-height: 36px; \n" /*Use as a spacer so label border does not put scrollbars on popup*/ "}", -1, NULL); gtk_style_context_add_provider (context, -- cgit v1.2.1