[Lazarus] spinedit issue with qt5
zeljko
zeljko at holobit.net
Mon Jun 11 11:49:06 CEST 2018
On 11.06.2018 11:43, Luca Olivetti via Lazarus wrote:
> El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit:
>
>> I changed that to
>>
>> if (ACustomFloatSpinEdit.MaxValue >
>> ACustomFloatSpinEdit.MinValue) then
>> begin
>> ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinValue);
>> ASpinWidget.setMaximum(ACustomFloatSpinEdit.MaxValue);
>> end
>> else
>> begin
>> if ASpinWidget is TQtFloatSpinBox then
>> begin
>> ASpinWidget.setMinimum(-MaxDouble);
>> ASpinWidget.setMaximum(MaxDouble);
>> end else
>> begin
>> ASpinWidget.setMinimum(-$7fffffffffffffff);
>> ASpinWidget.setMaximum($7fffffffffffffff);
>> end;
>> end;
>>
> And it still fails :-(
> If I use -MaxInt and MaxInt it works (albeit with a reduced range)
>
Please open an issue and attach example project.
zeljko
More information about the Lazarus
mailing list