From 3e25be6321f5bb08017ac7a93e4753e25e75cc72 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 16 Sep 2021 09:19:02 -0400 Subject: [PATCH] Build out feed status label, add to top of sidepane --- piker/ui/_forms.py | 41 +++++------------------------ piker/ui/order_mode.py | 59 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 34 deletions(-) diff --git a/piker/ui/_forms.py b/piker/ui/_forms.py index 5aed6f9c..38184ca4 100644 --- a/piker/ui/_forms.py +++ b/piker/ui/_forms.py @@ -21,7 +21,6 @@ Text entry "forms" widgets (mostly for configuration and UI user input). from __future__ import annotations from contextlib import asynccontextmanager from functools import partial -from textwrap import dedent from typing import ( Optional, Any, Callable, Awaitable ) @@ -320,14 +319,14 @@ class FieldsForm(QWidget): self.vbox = QVBoxLayout(self) # self.vbox.setAlignment(Qt.AlignVCenter) self.vbox.setAlignment(Qt.AlignBottom) - self.vbox.setContentsMargins(0, 4, 3, 6) + self.vbox.setContentsMargins(3, 6, 3, 6) self.vbox.setSpacing(0) # split layout for the (