mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 00:37:11 +01:00
IdeIntf: OI: fix font color for selected items in combobox
git-svn-id: trunk@55305 -
This commit is contained in:
parent
0cd8ed04e5
commit
ecbfde6a60
@ -3461,6 +3461,8 @@ begin
|
||||
ValueComboBox.Canvas.FillRect(ARect);
|
||||
|
||||
ValueComboBox.Canvas.Font.Assign(FDefaultValueFont);
|
||||
if odSelected in State then
|
||||
ValueComboBox.Canvas.Font.Color := clHighlightText;
|
||||
if CurRow.Editor.HasDefaultValue and (ItemValue = CurRow.Editor.GetDefaultValue) then
|
||||
ValueComboBox.Canvas.Font.Style := ValueComboBox.Canvas.Font.Style + [fsItalic];
|
||||
CurRow.Editor.ListDrawValue(ItemValue,Index,ValueComboBox.Canvas,ARect,AState);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user