fix can not scale
This commit is contained in:
parent
2e7030de3c
commit
1c63e9e3bc
@ -72,6 +72,10 @@ void DockWidget::showEvent(QShowEvent* e) {
|
||||
|
||||
void DockWidget::resizeEvent(QResizeEvent* e) {
|
||||
QDockWidget::resizeEvent(e);
|
||||
}
|
||||
|
||||
void DockWidget::paintEvent(QPaintEvent* e) {
|
||||
QDockWidget::paintEvent(e);
|
||||
QStyleOptionDockWidget opt;
|
||||
initStyleOption(&opt);
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ Q_SIGNALS:
|
||||
protected:
|
||||
void showEvent(QShowEvent* e) override;
|
||||
void resizeEvent(QResizeEvent* e) override;
|
||||
void paintEvent(QPaintEvent* e) override;
|
||||
|
||||
private:
|
||||
void OnClose();
|
||||
|
Loading…
Reference in New Issue
Block a user