0

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)

enter image description here

1
  • You need to show more code, so I can realize ur problem now. Commented Oct 25 at 16:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.