ecere/gui/ListBox: Fix to position of sort order arrow when DataField alignment is...
authorJerome St-Louis <jerome@ecere.com>
Fri, 3 Aug 2012 00:24:51 +0000 (20:24 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 3 Aug 2012 00:24:51 +0000 (20:24 -0400)
ecere/src/gui/controls/ListBox.ec

index 615c80a..fb71824 100644 (file)
@@ -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;