Bladeren bron

Comment on common code between THistoryComboBox.DropDown and TIECustomComboBox.DropDown

Source commit: 2e9d0a701486ca709d41878bf7a255f33f98219f
Martin Prikryl 9 jaren geleden
bovenliggende
commit
b8d750fe2f
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      source/packages/filemng/IEComboBox.pas

+ 1 - 0
source/packages/filemng/IEComboBox.pas

@@ -213,6 +213,7 @@ begin
       Self.Perform(CB_SETDROPPEDWIDTH, FDropDownFixedWidth, 0)
     else
   begin
+    // The same code is in THistoryComboBox.DropDown
     ItemWidth := GetMaxItemWidth + ScaleByPixelsPerInch(8);
     if Items.Count > DropDownCount then
       Inc(ItemWidth, GetSystemMetrics(SM_CXVSCROLL));