[01:50] <lotuspsychje> good morning
[06:07] <ducasse> good morning
[06:25] <lordievader> Good morning
[18:03] <marcoagpinto> Heya!
[18:03] <marcoagpinto> does anybody know if Ubuntu 22.04 LTS will change the gadgets size?
[18:04] <marcoagpinto> they became bigger in 20.04 compared to 18.04
[18:04] <marcoagpinto> I now need to resize in my software
[18:06] <lotuspsychje> marcoagpinto: 'the gadgets'?
[18:07] <marcoagpinto> lotuspsychje: the buttons height
[18:07] <marcoagpinto> they changed
[18:07] <marcoagpinto> so, Proofing Tool GUI looks well in 18.04
[18:08] <marcoagpinto> but in 20.04 they overlap since the minimum height changed
[18:08] <marcoagpinto> it will be a great work to change the position of one by one
[18:08] <lotuspsychje> marcoagpinto: 22.04 is not in development yet, we will have to wait a bit still
[18:08] <marcoagpinto> ahhhhhh
[18:08] <marcoagpinto> :((((((((
[18:08] <lotuspsychje> october
[18:11] <tomreyn> 21.10 will release in october, 22.04 in april next year, as the numbers suggest.
[18:11] <marcoagpinto> I know :)
[18:11] <marcoagpinto> but there could be "some knowledge"
[18:11] <marcoagpinto> :)
[18:15]  * sarnold hides his cola
[18:16] <lordievader> Sounds like you hard code details...
[18:16] <lordievader> Rarely a good idea. Especially if the program is supposed to run on different screen sizes etc
[18:18] <marcoagpinto> lordievader: yes, I hardcode heights
[18:18] <marcoagpinto> :)
[18:18] <marcoagpinto> because I compile for Windows and Ubuntu, so I want it to look the same in both
[18:18] <marcoagpinto> but the windows size are dynamic
[18:18] <marcoagpinto> just the buttons are hardcoded
[18:22] <marcoagpinto> in Microsoft Windows there the gadgets can have any size, but on Ubuntu they have a minimum size
[18:22] <marcoagpinto> and Ubuntu won't display smaller
[18:24] <lordievader> You can't add a constraint that the height is the size of the buttons plus some margin?
[18:24] <lordievader> What gui framework are you using? Qt?
[18:27] <marcoagpinto> lordievader: no gui framework
[18:27] <marcoagpinto> :)
[18:27] <marcoagpinto> just Gtk 3.1
[18:29] <marcoagpinto> my approach was simple: I created a small program that creates gadgets and resizes them to the minimum possible, then I get the values in every OS I run the code
[18:29] <marcoagpinto> so, I compared Windows with Ubuntu and used the biggest values
[18:29] <marcoagpinto> :)
[18:29] <marcoagpinto> this way it looks the same on both OSes
[18:30] <lordievader> GTK is a GUI framework.
[18:30] <marcoagpinto> ahhhhh
[18:30] <marcoagpinto> lordievader:
[18:30] <marcoagpinto>   ; Global variables - GTK3 Ready - Ubuntu 20.04.1 LTS
[18:30] <marcoagpinto>   ; Commented values are regarding to Windows 10 and Ubuntu 18.04 LTS
[18:30] <marcoagpinto>   Global default_gadget_height_button=34 ;28 ;24
[18:30] <marcoagpinto>   Global default_gadget_height_text=18 ; Leave it, since GTK3 is 16
[18:31] <marcoagpinto> ... etc.
[18:31] <marcoagpinto> I use the biggest size for each gadget type
[18:32] <marcoagpinto> As you can see the normal buttons minimum size is now 34 pixels in 20.04
[18:33] <lordievader> Right, well I'm not familiar with GTK. But  my limited gui experience has taught me that you don't want to hard code anything. Use constraints rather than hard coding things.
[18:33] <marcoagpinto> :(
[18:33] <marcoagpinto> I know
[18:44] <lotuspsychje> marcoagpinto: https://ubuntuhandbook.org/index.php/2021/08/ubuntu-21-10-removed-standard-theme/
[18:51] <marcoagpinto> ahhh
[18:51] <marcoagpinto> let me see