From b9a46ecf35b85ee4fa673e29665a48ed09087a47 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Wed, 6 Apr 2016 13:12:34 +0300 Subject: [PATCH] Merged more of the statusbars. --- pysollib/tile/statusbar.py | 1 - pysollib/tk/statusbar.py | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pysollib/tile/statusbar.py b/pysollib/tile/statusbar.py index f5e7971a..b5a07e85 100644 --- a/pysollib/tile/statusbar.py +++ b/pysollib/tile/statusbar.py @@ -158,7 +158,6 @@ class PysolStatusbar(MfxStatusbar): ): self._createLabel(n, tooltip=t, width=w) # - #self.configLabel("stuck", fg="red") l = self._createLabel('info', expand=True) l.config(padding=(8, 0)) self._createSizegrip() diff --git a/pysollib/tk/statusbar.py b/pysollib/tk/statusbar.py index 6f93c953..9ed4ed33 100644 --- a/pysollib/tk/statusbar.py +++ b/pysollib/tk/statusbar.py @@ -146,7 +146,7 @@ class MfxStatusbar: class PysolStatusbar(MfxStatusbar): def __init__(self, top): - MfxStatusbar.__init__(self, top, row=3, column=0, columnspan=3) + MfxStatusbar.__init__(self, top, row=4, column=0, columnspan=3) # for n, t, w in ( ('stuck', _("'You Are Stuck' indicator"), 3), @@ -158,8 +158,7 @@ class PysolStatusbar(MfxStatusbar): self._createLabel(n, tooltip=t, width=w) # l = self._createLabel('info', expand=True) - ##l.config(text='', justify='left', anchor='w') - l.config(padx=8) + l.config(padding=(8, 0)) class HelpStatusbar(MfxStatusbar):