From 2a5c27bda4bfb731679791c30c15c02eca18d0ff Mon Sep 17 00:00:00 2001 From: robert rozee Date: Mon, 3 Mar 2025 14:08:36 +0000 Subject: [PATCH] Edit inputdialog.inc added at line 84: Color:=Parent.GetDefaultColor(dctBrush); // fix for wrong background colour this ensures that the background colour of the panel containing the buttons is the SAME as the form's background colour. without this change, under certain desktop themes it is possible for the panel and form default colours to differ. --- lcl/include/inputdialog.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lcl/include/inputdialog.inc b/lcl/include/inputdialog.inc index 6fc0c1e8e6..4aaa22eda1 100644 --- a/lcl/include/inputdialog.inc +++ b/lcl/include/inputdialog.inc @@ -81,6 +81,7 @@ begin Parent := Form; ShowBevel := False; ShowButtons := [pbOK, pbCancel]; + Color:=Parent.GetDefaultColor(dctBrush); // fix for wrong background colour Align := alTop; end;