Changeset 148:225be1220053


Ignore:
Timestamp:
Sep 3, 2009, 8:00:10 PM (11 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@149
Message:

Reduce gui glitch effect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/gameboard.py

    r144 r148  
    2929def mkcountupdate(counter):
    3030    def update_counter(self, value):
    31         getattr(self, counter).update_value("%s" % value)
     31        getattr(self, counter).update_value("%5s" % value)
    3232        self.repaint()
    3333    return update_counter
     
    8484        button.connect(gui.CLICK, func)
    8585        self.tr()
    86         self.add(button)
     86        self.add(button, colspan=2)
    8787
    8888    def add_counter(self, icon, label):
    8989        self.tr()
    9090        if icon:
    91             self.td(icon, align=-1)
     91            self.td(icon, align=-1, width=self.rect.w/2)
    9292        self.add(label)
    9393
Note: See TracChangeset for help on using the changeset viewer.