]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
GTK 3 fake dialog action area: fix margins and spacing.
authorSimon Tatham <anakin@pobox.com>
Thu, 24 Mar 2016 07:19:09 +0000 (07:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 24 Mar 2016 07:19:09 +0000 (07:19 +0000)
commit1f9df706b5b4ae38b33b7dbd4c34c774c014c06d
treed61b3fd80daa42181680f1b4e92edd973144a1a8
parentae53014f535692dd444f2578cbb6edabe7550abb
GTK 3 fake dialog action area: fix margins and spacing.

The About box is where it showed up most obviously that I'd hastily
bunged a GtkBox inside another GtkBox without considering their
margins: the 'action area' had twice the margin it should have had and
the rightmost button didn't align with the right edge of the rest of
the window contents.

Easily fixed by giving the inner hbox margin 0 (fixing the right align
and the excessive space around all the buttons), and using the
'spacing' property of GtkBox to ensure multiple buttons in it are
nicely separated without having to take care over that in the client
code that adds them.
unix/gtkmisc.c