[Gambas-user] Bug in SpinBox.Text?
T Lee Davidson
t.lee.davidson at gmail.com
Tue Apr 25 16:26:39 CEST 2023
On 4/25/23 10:09, Gianluigi wrote:
> Il 25/04/23 15:57, T Lee Davidson ha scritto:
>> On 4/24/23 15:56, Benoit Minisini wrote:
>>> Le 24/04/2023 à 18:10, T Lee Davidson a écrit :
>>>> If I set a SpinBox properties ShowZero and ShowSign to true, and also set MinValue to -100:
>>>> 1. The control displays 4 zeroes when only 3 are needed, and
>>>> 2. Setting the value with SpinBox1.Text = "-99" displays "0-99".
>>>>
>>>> Is this a bug?
>>>>
>>>>
>>>
>>> Apparently. Can you provide a full project that reproduces the bug?
>>>
>>
>> Certainly. Attached.
>>
>>
>>
> Hi Lee,
>
> In the project properties the tick on gb.form is missing, restoring it and deleting the old spinbox with a new one works fine here
>
> Regards
>
> Gianluigi
SpinBox is provided by the GTK/Qt components; gb.form is not required.
When gb.gui is used, my system uses Qt5. Does your system default to GTK? I tried it with GTK3 and get the same behavior.
--
Lee
More information about the User
mailing list