summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_combobox.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_combobox.pas b/src/gui/fpg_combobox.pas
index 19028530..d0fc01c1 100644
--- a/src/gui/fpg_combobox.pas
+++ b/src/gui/fpg_combobox.pas
@@ -722,7 +722,7 @@ begin
Canvas.SetColor(clWindowBackground);
Canvas.SetTextColor(FTextColor);
r.Left := r.Left + Margin;
- r.Width := r.Width - Margin;
+ r.Width := r.Width - (Margin*2);
end;
Canvas.FillRectangle(r);