~fabrixxm/confy-dev

LoadingWidget: Use margin v1 APPLIED

Guido Günther: 1
 LoadingWidget: Use margin

 1 files changed, 2 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~fabrixxm/confy-dev/patches/34011/mbox | git am -3
Learn more about email & git

[PATCH] LoadingWidget: Use margin Export this patch

This makes sure we don't have the progress bar
extend to the screen edge which looks slightly
odd on mobile.
---
 src/widgets.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/widgets.py b/src/widgets.py
index fcc6f63..97e14a2 100644
--- a/src/widgets.py
+++ b/src/widgets.py
@@ -263,6 +263,8 @@ class LoadingWidget(Handy.Clamp):
        fetcher.connect("notify", lambda *args: pb.set_fraction(fetcher.props.fraction))
        button.connect("clicked", lambda *args: fetcher.cancel())

        box.set_margin_start(12)
        box.set_margin_end(12)
        box.pack_start(img, False, False, 16)
        box.pack_start(label, False, False, 8)
        box.pack_start(pb, False, False, 8)
-- 
2.35.1