mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-28 11:48:39 +00:00
update:视频窗口固定大小
This commit is contained in:
parent
7d06d4582a
commit
5f1c120a89
1 changed files with 3 additions and 2 deletions
|
@ -244,7 +244,8 @@ void VideoForm::updateShowSize(const QSize &newSize)
|
|||
//showSize.setHeight(showSize.height() - titleBarHeight);
|
||||
|
||||
if (showSize != size()) {
|
||||
resize(showSize);
|
||||
setFixedSize(showSize);
|
||||
//resize(showSize);
|
||||
updateStyleSheet(vertical);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue