Color Palette: get back horizontal padding - SL #4325
The PaletteWindow lost the horizontal padding when it started to be used as replacement of palette menus. So now each implementation has to add the padding. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
This commit is contained in:
parent
c78ebfd4d3
commit
7156e67aa2
@ -255,7 +255,12 @@ class _ColorPalette(Palette):
|
||||
self.connect('popdown', self.__popdown_cb)
|
||||
|
||||
self._picker_hbox = Gtk.HBox()
|
||||
self.set_content(self._picker_hbox)
|
||||
alignment = Gtk.Alignment()
|
||||
alignment.set_padding(0, 0, style.DEFAULT_SPACING,
|
||||
style.DEFAULT_SPACING)
|
||||
alignment.add(self._picker_hbox)
|
||||
self.set_content(alignment)
|
||||
alignment.show()
|
||||
|
||||
self._swatch_tray = Gtk.Table()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user