TFloatSpinEdit on GTK2 does not allow unconstrained min and max values
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
I think this is a variation of the previously reported issues (0023266, 0028123), but the Linux GTK2 widgetset's TFloatSpinEdit does not behave the same as Delphi or Lazarus on Windows or OSX. Specifically, with other setups if you make the MinValue equal MaxValue then the entry is unconstrained. However, on GTK2 the value is locked to be precisely this value.
Steps to reproduce:
procedure TForm1.FormShow(Sender: TObject);
begin
FloatSpinEdit1.MinValue := 0.0;
FloatSpinEdit1.MaxValue := 0.0;
//FloatSpinEdit1.MaxValue := 10.0;
FloatSpinEdit1.Value := 2.0;
end;
Mantis conversion info:
- Mantis ID: 29645
- OS: CentOS
- OS Build: 6.6
- Build: 51253
- Platform: Haswell 4790 w GTX 970
- Version: 1.6RC1
- Fixed in revision: r51619 (#49551b76)
- Target version: 1.6