mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
cabana: reduce minimum size (#30223)
reduce minimumsize old-commit-hash: 818d29818fcb54f84e8fbb366fbe6913c70be2b9
This commit is contained in:
@@ -370,6 +370,10 @@ void ChartsWidget::doAutoScroll() {
|
||||
}
|
||||
}
|
||||
|
||||
QSize ChartsWidget::minimumSizeHint() const {
|
||||
return QSize(CHART_MIN_WIDTH, QWidget::minimumSizeHint().height());
|
||||
}
|
||||
|
||||
void ChartsWidget::resizeEvent(QResizeEvent *event) {
|
||||
QWidget::resizeEvent(event);
|
||||
updateLayout();
|
||||
|
||||
@@ -54,6 +54,7 @@ signals:
|
||||
void seriesChanged();
|
||||
|
||||
private:
|
||||
QSize minimumSizeHint() const override;
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
bool event(QEvent *event) override;
|
||||
void alignCharts();
|
||||
|
||||
Reference in New Issue
Block a user