mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
LCL: Fix inability to resize the height of a TCombobox having style csSimple at designtime in order to show the item listbox. Issue #37679. Patch by mgr.inz.Player.
git-svn-id: trunk@63857 -
This commit is contained in:
parent
afa0f73049
commit
b4cc95fc28
@ -1113,6 +1113,8 @@ end;
|
||||
class procedure TWin32WSCustomComboBox.SetStyle(const ACustomComboBox: TCustomComboBox; NewStyle: TComboBoxStyle);
|
||||
begin
|
||||
RecreateWnd(ACustomComboBox);
|
||||
if (NewStyle = csSimple) and (csDesigning in ACustomComboBox.ComponentState) then
|
||||
ACustomComboBox.Constraints.SetInterfaceConstraints(0,0,0,0);
|
||||
end;
|
||||
|
||||
class procedure TWin32WSCustomComboBox.SetReadOnly(const ACustomComboBox: TCustomComboBox;
|
||||
|
Loading…
Reference in New Issue
Block a user