=== eliocamp5 is now known as eliocamp | ||
=== eliocamp5 is now known as eliocamp | ||
=== eliocamp1 is now known as eliocamp | ||
=== eliocamp9 is now known as eliocamp | ||
lotuspsychje | good morning | 01:50 |
---|---|---|
ducasse | good morning | 06:07 |
lordievader | Good morning | 06:25 |
=== 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 | ||
marcoagpinto | Heya! | 18:03 |
marcoagpinto | does anybody know if Ubuntu 22.04 LTS will change the gadgets size? | 18:03 |
marcoagpinto | they became bigger in 20.04 compared to 18.04 | 18:04 |
marcoagpinto | I now need to resize in my software | 18:04 |
lotuspsychje | marcoagpinto: 'the gadgets'? | 18:06 |
marcoagpinto | lotuspsychje: the buttons height | 18:07 |
marcoagpinto | they changed | 18:07 |
marcoagpinto | so, Proofing Tool GUI looks well in 18.04 | 18:07 |
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:08 |
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:11 |
* sarnold hides his cola | 18:15 | |
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:16 |
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:18 |
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:22 |
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:24 |
marcoagpinto | lordievader: no gui framework | 18:27 |
marcoagpinto | :) | 18:27 |
marcoagpinto | just Gtk 3.1 | 18:27 |
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:29 |
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:30 |
marcoagpinto | ... etc. | 18:31 |
marcoagpinto | I use the biggest size for each gadget type | 18:31 |
marcoagpinto | As you can see the normal buttons minimum size is now 34 pixels in 20.04 | 18:32 |
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:33 |
lotuspsychje | marcoagpinto: https://ubuntuhandbook.org/index.php/2021/08/ubuntu-21-10-removed-standard-theme/ | 18:44 |
marcoagpinto | ahhh | 18:51 |
marcoagpinto | let me see | 18:51 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!