mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-10 18:23:44 +08:00
ui: remove stretch in sunnypilot panel (#520)
* no need to stretch for listwidget * button moved
This commit is contained in:
@@ -49,7 +49,6 @@ SunnypilotPanel::SunnypilotPanel(SettingsWindowSP *parent) : QFrame(parent) {
|
||||
|
||||
sunnypilotScroller = new ScrollViewSP(list, this);
|
||||
vlayout->addWidget(sunnypilotScroller);
|
||||
vlayout->addStretch(1);
|
||||
|
||||
main_layout->addWidget(sunnypilotScreen);
|
||||
main_layout->addWidget(madsWidget);
|
||||
|
||||
@@ -186,7 +186,7 @@ def setup_settings_sunnypilot_mads(click, pm: PubMaster):
|
||||
|
||||
setup_settings_device(click, pm)
|
||||
click(278, 846)
|
||||
click(970, 250)
|
||||
click(970, 455)
|
||||
time.sleep(UI_DELAY)
|
||||
|
||||
CASES = {
|
||||
|
||||
Reference in New Issue
Block a user