From fb60f6abd862658721da072e0e62be1a8da95374 Mon Sep 17 00:00:00 2001 From: John Taylor Date: Thu, 3 Apr 2025 14:35:48 +0200 Subject: [PATCH] Fix #13955: Aligned y axis labels to the right --- src/graph_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 924e8047a5..398e2a874d 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -431,7 +431,7 @@ protected: if (rtl) { DrawString(r.right + ScaleGUITrad(4), r.right + label_width + ScaleGUITrad(4), y, GetString(STR_GRAPH_Y_LABEL, this->format_str_y_axis, y_label), - GRAPH_AXIS_LABEL_COLOUR, SA_LEFT); + GRAPH_AXIS_LABEL_COLOUR, SA_RIGHT); } else { DrawString(r.left - label_width - ScaleGUITrad(4), r.left - ScaleGUITrad(4), y, GetString(STR_GRAPH_Y_LABEL, this->format_str_y_axis, y_label),