[gtk] scale: Allocate left marks next to trough
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] scale: Allocate left marks next to trough
- Date: Fri, 9 Aug 2019 15:15:10 +0000 (UTC)
commit b4a6d69f5d43d6642cd00b21386aed715c18171b
Author: Timm Bäder <mail baedert org>
Date: Fri Aug 9 10:35:10 2019 +0200
scale: Allocate left marks next to trough
gtk/gtkscale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 9627d278f5..eaf5056bb3 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -594,7 +594,7 @@ gtk_scale_size_allocate (GtkWidget *widget,
GTK_ORIENTATION_HORIZONTAL, -1,
&marks_width, NULL,
NULL, NULL);
- marks_rect.x = 0;
+ marks_rect.x = range_rect.x - marks_width;
marks_rect.y = 0;
marks_rect.width = marks_width;
marks_rect.height = range_rect.height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]