[gnome-builder] minimap: fill entire width for overlay control
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] minimap: fill entire width for overlay control
- Date: Sat, 2 May 2015 23:04:48 +0000 (UTC)
commit 7d857589ce713f214951dd2e2716323dc4b7df9d
Author: Christian Hergert <christian hergert me>
Date: Sat May 2 16:04:33 2015 -0700
minimap: fill entire width for overlay control
This looked weird once we added the border.
libide/ide-source-map.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libide/ide-source-map.c b/libide/ide-source-map.c
index f501f12..3a561ea 100644
--- a/libide/ide-source-map.c
+++ b/libide/ide-source-map.c
@@ -612,9 +612,8 @@ ide_source_map_get_child_position (GtkOverlay *overlay,
gtk_widget_get_allocation (GTK_WIDGET (overlay), &our_alloc);
- /* adjust box to not cover line changes */
- alloc->x = 3;
- alloc->width = our_alloc.width - alloc->x;
+ alloc->x = 0;
+ alloc->width = our_alloc.width;
gtk_widget_get_preferred_height (child, NULL, &alloc->height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]