~mvo/software-center/dataprovider-desktop-dependency-property

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/widgets/containers.py

  • Committer: Gary Lasker
  • Date: 2012-09-12 02:17:31 UTC
  • mfrom: (3159.2.2 padding-adjustments)
  • Revision ID: gary.lasker@canonical.com-20120912021731-h74x6031n68m7z53
    recommended item has been selected (LP: #1044107)
* lp:~mvo/software-center/padding-adjustments:
  - clean up visual glitch caused by the spinner panel
    overlapping the sides of the recommender pane

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
 
237
237
    def __init__(self, padding=0):
238
238
        Gtk.Alignment.__init__(self)
239
 
        # set padding + some additional padding in the bottom, left and
240
 
        # right edges to factor in the dropshadow width, and ensure even
241
 
        # visual border
242
 
        self.set_padding(padding, padding + 2, padding + 1, padding + 1)
 
239
        # set padding + some additional padding to factor in the 
 
240
        # dropshadow+border width
 
241
        # padding is (top, bottom, left, right)
 
242
        self.set_padding(padding, padding + 2, padding + 3, padding + 3)
243
243
 
244
244
        self._cache_art_assets()
245
245
        # second tier of caching, cache resultant surface of