GNOME Bugzilla – Bug 698978
Widget margins are not calculated
Last modified: 2013-05-10 00:13:02 UTC
Created attachment 242597 [details] Wrong draw If you set the flowbox's margins you are get wrong draws. I'm attaching the odd screenshot.
Created attachment 242598 [details] Correct draw, after patch
Created attachment 242599 [details] test case
Created attachment 242600 [details] [review] proposed patch
Review of attachment 242600 [details] [review]: Patch looks wrong to me - widgets should not have to fiddle manually with margins like that. It is all supposed to be taken care of by gtk. We need to find out why thats not working correctly for EggFlowBox
Created attachment 243530 [details] [review] proposed patch, v2 please, take a look at this approach. it fixed the issue to me.
Comment on attachment 243530 [details] [review] proposed patch, v2 This is correct. EggWrapBox allocated children this way but it did not have it's own window. Looks like this bug occurred since now the EggFlowBox owns a window and the child allocation was not updated accordingly.
thanks for reviewing, pushed.