From: Jerome St-Louis Date: Fri, 3 Aug 2012 00:24:51 +0000 (-0400) Subject: ecere/gui/ListBox: Fix to position of sort order arrow when DataField alignment is... X-Git-Tag: 0.44.01~63 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=449af2b0472b9da353bef446ea90da263e9e2073;p=sdk ecere/gui/ListBox: Fix to position of sort order arrow when DataField alignment is set to 'right' --- diff --git a/ecere/src/gui/controls/ListBox.ec b/ecere/src/gui/controls/ListBox.ec index 615c80a..fb71824 100644 --- a/ecere/src/gui/controls/ListBox.ec +++ b/ecere/src/gui/controls/ListBox.ec @@ -2577,7 +2577,7 @@ private: } else if(field.alignment == right) { - x = field.x + width - tw - EXTRA_SPACE - 4; + x = field.x + width - tw - 2*EXTRA_SPACE - 4; x = Max(x, field.x + 2); } x -= scroll.x;