From 59b7125563e022036547d0816a1a56f475c5245d Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 18 Aug 2013 15:32:45 +0000 Subject: (svn r25727) -Fix [FS#5686]: NWidgetMatrix used pip_pre and pip_post inconsistently and incorrectly, causing misalignment for RTL. (spotted by sbr) --- src/widget_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget_type.h') diff --git a/src/widget_type.h b/src/widget_type.h index 793f93b71..60980f28c 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -181,9 +181,9 @@ public: NWidgetBase *prev; ///< Pointer to previous widget in container. Managed by parent container widget. uint8 padding_top; ///< Paddings added to the top of the widget. Managed by parent container widget. - uint8 padding_right; ///< Paddings added to the right of the widget. Managed by parent container widget. + uint8 padding_right; ///< Paddings added to the right of the widget. Managed by parent container widget. (parent container may swap this with padding_left for RTL) uint8 padding_bottom; ///< Paddings added to the bottom of the widget. Managed by parent container widget. - uint8 padding_left; ///< Paddings added to the left of the widget. Managed by parent container widget. + uint8 padding_left; ///< Paddings added to the left of the widget. Managed by parent container widget. (parent container may swap this with padding_right for RTL) protected: inline void StoreSizePosition(SizingType sizing, uint x, uint y, uint given_width, uint given_height); -- cgit v1.2.3-54-g00ecf