EDIT: Sorry about wrong placement, This is not Installation related problem, but I can not delete this any more (why?)
Hi !
With search by words in subject resulted 0 hits.
System Fedora 35 with Lazarus 2.0.12
When form's font size is changed combobox font size does not change but TEdit font size changes.
This happens if LCL widget type is QT5.
When LCL widget type is GTK2 both font sizes are changed ok.
Code used to change font is:
for i := 0 to aForm.ComponentCount - 1 do
begin
//edits, memo combo, spinedit ...
if (aForm.Components[i] is TEdit) then
begin
(aForm.Components[i] as TEdit).Font.Name := fEdits;
(aForm.Components[i] as TEdit).Font.Size := feSize
end;
if (aForm.Components[i] is TComboBox) then
begin
(aForm.Components[i] as TComboBox).Font.Name := fEdits;
(aForm.Components[i] as TComboBox).Font.Size := feSize
end;
end;
This seems to be Lazarus/QT5 problem, or am I doing something wrong?