Skip to content

Commit 56ca6fc

Browse files
fix(ui/editor): Flyout 弹窗位置乱跳
1 parent 0680169 commit 56ca6fc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/qml/ClassWidgets/Components/editor/EntryDetailView.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Flyout {
196196
Flyout {
197197
id: subjectsFlyout
198198
position: Position.Left
199-
width: 300
199+
implicitWidth: 300
200200

201201
Flow {
202202
Layout.fillWidth: true

src/qml/ClassWidgets/Components/editor/ScheduleFlyout.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Flyout {
6666

6767
Flyout {
6868
id: subjectsFlyout
69-
width: 300
69+
implicitWidth: 300
7070
position: Position.Left
7171
Flow {
7272
Layout.fillWidth: true

0 commit comments

Comments
 (0)