forked from vikunja/app
Fixed width
This commit is contained in:
parent
b666c85b0e
commit
8c4d1c8b89
|
@ -242,12 +242,14 @@ class _TaskEditPageState extends State<TaskEditPage> {
|
|||
}).toList()),
|
||||
Row(
|
||||
children: <Widget>[
|
||||
TypeAheadFormField(
|
||||
Container(
|
||||
width: MediaQuery.of(context).size.width - 80,
|
||||
child: TypeAheadFormField(
|
||||
textFieldConfiguration: TextFieldConfiguration(
|
||||
controller: _labelTypeAheadController,
|
||||
onChanged: (value) => _labelSearchText = value,
|
||||
decoration:
|
||||
InputDecoration(labelText: 'Add a new label')),
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Add a new label')),
|
||||
suggestionsCallback: (pattern) {
|
||||
return _searchLabel(pattern);
|
||||
},
|
||||
|
@ -264,6 +266,7 @@ class _TaskEditPageState extends State<TaskEditPage> {
|
|||
_addLabel(suggestion);
|
||||
},
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
print(_labelSearchText);
|
||||
|
|
Loading…
Reference in New Issue
Block a user