mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 06:49:22 +00:00
Fix overflow issue
This commit is contained in:
parent
e1f8ad1466
commit
8bd937420e
@ -91,7 +91,10 @@ class _SurveyWidgetState extends State<SurveyWidget> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildUserResponseFormWidget() {
|
Widget _buildUserResponseFormWidget() {
|
||||||
return DropdownButton<SurveyChoice>(
|
return ConstrainedBox(
|
||||||
|
constraints: BoxConstraints(maxWidth: 300),
|
||||||
|
child: DropdownButton<SurveyChoice>(
|
||||||
|
isExpanded: true,
|
||||||
hint: Text(tr("Respond to survey")),
|
hint: Text(tr("Respond to survey")),
|
||||||
items: survey.choices
|
items: survey.choices
|
||||||
.map(
|
.map(
|
||||||
@ -102,6 +105,7 @@ class _SurveyWidgetState extends State<SurveyWidget> {
|
|||||||
)
|
)
|
||||||
.toList(),
|
.toList(),
|
||||||
onChanged: _respondToSurvey,
|
onChanged: _respondToSurvey,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user