[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TabPanel 3.19.6 vs 3.22.2


Le 13/10/2026 à 15:39, gbWilly a écrit :
Hi,

I have 2 identical systems (GambOS) running in VM.
The only difference is that I have installed 3.22.2 on one of them (the other has Gambas 3.19.6) to test for a way further in the future migration to 3.22 series as I need the new Library implementation.

The applications that I'm testing with are all written in 3.19.6 and installed on the targets using .deb packages. In 3.22.2 the TabPanel, that used to give these nice rounded corners on the tabs, now shows square tabs. See attachment.

I this a bug or does it have to do with new implementations done. I prefer the rounded look as shown on 3.19.6 system and would like to get that on 3.22 as well.

I do know things have been changing as I noticed that 3.22 source code can no longer be loaded into a 3.19.6 IDE and compiled as the gambas .form files contain stuff unknown to 3.19. Or removing a 3.22 IDE and replace it with a 3.19 and projects will miss Project View on opening. Need to remove gambas3.config to make it look normal again.

I suppose that I have to 'style' this in a 3.22 IDE to get it solved?

1.png

gbWilly


Now the TabPanel uses the new Style class properties to draw its buttons, as many other controls, to uniformize the look.

You must the 'Style.Shape' property to the roundness you want. This property is 'Style.SquareShape' by default, hence the square buttons you have.

[1] https://gambaswiki.org/wiki/comp/gb.qt4/style/shape
[2] https://gambaswiki.org/wiki/comp/gb.qt4/style/$styleshape

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: TabPanel 3.19.6 vs 3.22.2gbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
TabPanel 3.19.6 vs 3.22.2gbWilly <gbWilly@xxxxxxxxxxxxxx>