Skip to content

Commit

Permalink
ui: remove stretch in sunnypilot panel (commaai#520)
Browse files Browse the repository at this point in the history
* no need to stretch for listwidget

* button moved
  • Loading branch information
sunnyhaibin authored Jan 5, 2025
1 parent ee5c1c4 commit 9c58fa1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/ui/tests/test_ui/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9c58fa1

Please sign in to comment.