I have created GTK Grid using gtk_grid_new and set both column and row spacing to 0 (gtk_grid_set_column_spacing and gtk_grid_set_row_spacing), however for some reason I still get 1px spacing between rows.
I have even tried overriding css with * { margin: 0; padding: 0; } on whole window using gtk_css_provider_load_from_data, however it didn't help.
On image you can see gap above purple rectangle (I have transparent background on window so it is easier to see)
asked Oct 2, 2025 at 16:04
Aleksa Ristic
2,5653 gold badges29 silver badges60 bronze badges
-
You need to show more code, so I can realize ur problem now.evo– evo2025年10月25日 16:12:17 +00:00Commented Oct 25, 2025 at 16:12