TF-3763 Set default height advanced search fields are 40px
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+9
-3
@@ -136,8 +136,8 @@ class AdvancedSearchInputForm extends GetWidget<AdvancedFilterController>
|
||||
),
|
||||
),
|
||||
),
|
||||
height: 44,
|
||||
width: 44,
|
||||
height: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
width: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
child: TMailButtonWidget.fromIcon(
|
||||
icon: controller.imagePaths.icCalendarSB,
|
||||
iconSize: 22,
|
||||
@@ -257,7 +257,10 @@ class AdvancedSearchInputForm extends GetWidget<AdvancedFilterController>
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: child,
|
||||
)
|
||||
: SizedBox(height: 44, child: Row(children: child));
|
||||
: SizedBox(
|
||||
height: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
child: Row(children: child),
|
||||
);
|
||||
}
|
||||
|
||||
bool _isVerticalArrange(BuildContext context) =>
|
||||
@@ -342,6 +345,9 @@ class AdvancedSearchInputForm extends GetWidget<AdvancedFilterController>
|
||||
},
|
||||
onTextChange: onTextChange,
|
||||
decoration: InputDecoration(
|
||||
constraints: const BoxConstraints(
|
||||
maxHeight: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
),
|
||||
filled: true,
|
||||
fillColor: AdvancedSearchInputFormStyle.inputFieldBackgroundColor,
|
||||
contentPadding: const EdgeInsetsDirectional.only(start: 12, end: 8),
|
||||
|
||||
+8
-2
@@ -55,8 +55,14 @@ class AutoCompleteTagItemWidgetWeb extends StatelessWidget {
|
||||
emailAddress: currentEmailAddress,
|
||||
prefix: field.getPrefixEmailAddress()
|
||||
),
|
||||
feedback: DraggableRecipientTagWidget(emailAddress: currentEmailAddress),
|
||||
childWhenDragging: DraggableRecipientTagWidget(emailAddress: currentEmailAddress),
|
||||
feedback: DraggableRecipientTagWidget(
|
||||
emailAddress: currentEmailAddress,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 4),
|
||||
),
|
||||
childWhenDragging: DraggableRecipientTagWidget(
|
||||
emailAddress: currentEmailAddress,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 4),
|
||||
),
|
||||
child: TextFieldTapRegion(
|
||||
child: InkWell(
|
||||
onTap: () => isCollapsed
|
||||
|
||||
+2
-2
@@ -35,7 +35,7 @@ class DateDropDownButton extends StatelessWidget {
|
||||
.toList(),
|
||||
value: receiveTimeSelected,
|
||||
customButton: Container(
|
||||
height: 44,
|
||||
height: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(
|
||||
Radius.circular(AdvancedSearchInputFormStyle.inputFieldBorderRadius),
|
||||
@@ -64,7 +64,7 @@ class DateDropDownButton extends StatelessWidget {
|
||||
}
|
||||
},
|
||||
buttonStyleData: ButtonStyleData(
|
||||
height: 44,
|
||||
height: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
padding: const EdgeInsetsDirectional.only(start: 12, end: 8),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(
|
||||
|
||||
+2
-2
@@ -61,7 +61,7 @@ class SortByDropDownButton extends StatelessWidget {
|
||||
)).toList(),
|
||||
value: sortOrderSelected,
|
||||
customButton: Container(
|
||||
height: SortByDropdownStyle.height,
|
||||
height: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(
|
||||
Radius.circular(AdvancedSearchInputFormStyle.inputFieldBorderRadius),
|
||||
@@ -90,7 +90,7 @@ class SortByDropDownButton extends StatelessWidget {
|
||||
),
|
||||
onChanged: onSortOrderSelected,
|
||||
buttonStyleData: ButtonStyleData(
|
||||
height: SortByDropdownStyle.height,
|
||||
height: AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
padding: SortByDropdownStyle.buttonPadding,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(
|
||||
|
||||
+4
@@ -141,6 +141,10 @@ class _TextFieldAutocompleteEmailAddressWebState extends State<TextFieldAutocomp
|
||||
debounceDuration: TextFieldAutoCompleteEmailAddressWebStyles.debounceDuration,
|
||||
inputDecoration: InputDecoration(
|
||||
filled: true,
|
||||
constraints: const BoxConstraints(
|
||||
maxHeight:
|
||||
AdvancedSearchInputFormStyle.inputFieldHeight,
|
||||
),
|
||||
fillColor: TextFieldAutoCompleteEmailAddressWebStyles.textInputFillColor,
|
||||
border: TextFieldAutoCompleteEmailAddressWebStyles.textInputBorder,
|
||||
hintText: widget.field.getHintText(context),
|
||||
|
||||
Reference in New Issue
Block a user