[Gambas-user] Bug in SpinBox.Text?

T Lee Davidson t.lee.davidson at gmail.com
Tue Apr 25 15:57:10 CEST 2023


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.


-- 
Lee

[System]
Gambas=3.18.2
OperatingSystem=Linux
Distribution=openSUSE Leap 15.4
Kernel=5.14.21-150400.24.60-default
Architecture=x86_64
Cores=6
Memory=15921M
Language=en_US.UTF-8
Desktop=KDE
DesktopResolution=96
DesktopScale=7
WidgetTheme=breeze
Font=Noto Sans,10

[Programs]
clang=clang version 13.0.1
gcc=gcc (SUSE Linux) 7.5.0
git=git version 2.35.3
pngquant=2.11.2 (November 2017)
trans=Translate Shell       0.9.6.12

[Libraries]
Cairo=/usr/lib64/libcairo.so.2.11600.0
Curl=/usr/lib64/libcurl.so.4.7.0
DBus=/usr/lib64/libdbus-1.so.3.19.4
GDK2=/usr/lib64/libgdk-x11-2.0.so.0.2400.33
GDK3=/usr/lib64/libgdk-3.so.0.2404.30
GStreamer=/usr/lib64/libgstreamer-1.0.so.0.2001.0
GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.33
GTK+3=/usr/lib64/libgtk-3.so.0.2404.30
OpenGL=/usr/lib64/libGL.so.1.7.0
Poppler=/usr/lib64/libpoppler.so.117.0.0
Poppler=/usr/lib64/libpoppler.so.89.0.0
QT5=/usr/lib64/libQt5Core.so.5.15.2
RSvg=/usr/lib64/librsvg-2.so.2.48.0
SDL=/usr/lib64/libSDL2-2.0.so.0.8.0
SQLite 3=/usr/lib64/libsqlite3.so.0.8.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestGraphical-0.0.72.tar.gz
Type: application/gzip
Size: 13307 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230425/3febdd61/attachment-0001.gz>


More information about the User mailing list