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