Showing
1 changed file
with
6 additions
and
4 deletions
... | @@ -74,7 +74,7 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> { | ... | @@ -74,7 +74,7 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> { |
74 | margin: | 74 | margin: |
75 | EdgeInsets.symmetric(vertical: 20.px, horizontal: 20.px), | 75 | EdgeInsets.symmetric(vertical: 20.px, horizontal: 20.px), |
76 | height: MediaQuery.of(context).size.height - | 76 | height: MediaQuery.of(context).size.height - |
77 | - 110.px - | 77 | + 120.px - |
78 | widget.poemPanelHeight, | 78 | widget.poemPanelHeight, |
79 | width: double.infinity, | 79 | width: double.infinity, |
80 | decoration: BoxDecoration( | 80 | decoration: BoxDecoration( |
... | @@ -94,14 +94,15 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> { | ... | @@ -94,14 +94,15 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> { |
94 | ), | 94 | ), |
95 | child: Padding( | 95 | child: Padding( |
96 | padding: EdgeInsets.all(10.px), | 96 | padding: EdgeInsets.all(10.px), |
97 | - child: Flex( | 97 | + child: SingleChildScrollView( |
98 | - direction: Axis.vertical, | 98 | + child: Column( |
99 | + crossAxisAlignment: CrossAxisAlignment.center, | ||
99 | children: [ | 100 | children: [ |
100 | PoemContent( | 101 | PoemContent( |
101 | title: "题破山寺后禅院", | 102 | title: "题破山寺后禅院", |
102 | author: "常建", | 103 | author: "常建", |
103 | poemStr: poemStr, | 104 | poemStr: poemStr, |
104 | - fontSize: 20.px, | 105 | + fontSize: 22.px, |
105 | ), | 106 | ), |
106 | Stack( | 107 | Stack( |
107 | alignment: Alignment.center, | 108 | alignment: Alignment.center, |
... | @@ -135,6 +136,7 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> { | ... | @@ -135,6 +136,7 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> { |
135 | ), | 136 | ), |
136 | ), | 137 | ), |
137 | ), | 138 | ), |
139 | + ), | ||
138 | ], | 140 | ], |
139 | ), | 141 | ), |
140 | ), | 142 | ), | ... | ... |
-
Please register or login to post a comment