diff options
-rw-r--r-- | src/gui/fpg_combobox.pas | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/fpg_combobox.pas b/src/gui/fpg_combobox.pas index 6cc07ff5..b014e1d6 100644 --- a/src/gui/fpg_combobox.pas +++ b/src/gui/fpg_combobox.pas @@ -660,7 +660,12 @@ begin // Draw select item's text if HasText then - fpgStyle.DrawString(Canvas, FMargin+1, FMargin, Text, Enabled); + fpgStyle.DrawString(Canvas, FMargin+1, FMargin, Text, Enabled) + else + begin + Canvas.SetTextColor(clShadow1); + fpgStyle.DrawString(Canvas, FMargin+1, FMargin, Hint, Enabled); + end; end; constructor TfpgBaseStaticCombo.Create(AOwner: TComponent); |