mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
UI: consider border when setting map width (#28488)
old-commit-hash: 22ebd4fa8f7f9974daf096db6d3e11034149d6d9
This commit is contained in:
@@ -95,7 +95,7 @@ void OnroadWindow::offroadTransition(bool offroad) {
|
||||
|
||||
QObject::connect(uiState(), &UIState::offroadTransition, m, &MapWindow::offroadTransition);
|
||||
|
||||
m->setFixedWidth(topWidget(this)->width() / 2);
|
||||
m->setFixedWidth(topWidget(this)->width() / 2 - bdr_s);
|
||||
split->insertWidget(0, m);
|
||||
|
||||
// Make map visible after adding to split
|
||||
|
||||
Reference in New Issue
Block a user