Skip to content

Commit eb0eb8b

Browse files
committed
select item
1 parent 1db882a commit eb0eb8b

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

lib/common/utils/CommonUtils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class CommonUtils {
118118
color: Colors.transparent,
119119
child: Center(
120120
child: new Container(
121-
width: 140.0,
121+
width: 200.0,
122122
height: 200.0,
123123
padding: new EdgeInsets.all(4.0),
124124
decoration: new BoxDecoration(

lib/page/SearchPage.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class SearchBottom extends StatelessWidget implements PreferredSizeWidget {
152152
GSYStrings.search_tab_user,
153153
],
154154
selectItemChanged,
155-
margin: const EdgeInsets.only(top: 0.0),
155+
margin: const EdgeInsets.all(0.0),
156156
)
157157
],
158158
);

lib/widget/GSYSelectItemWidget.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class _GSYSelectItemWidgetState extends State<GSYSelectItemWidget> {
5555
var style = index == selectIndex ? GSYConstant.middleTextWhite : GSYConstant.middleSubText;
5656
return new Expanded(
5757
child: FlatButton(
58+
padding: EdgeInsets.all(0.0),
5859
child: new Text(
5960
name,
6061
style: style,
@@ -95,10 +96,8 @@ class _GSYSelectItemWidgetState extends State<GSYSelectItemWidget> {
9596
shape: new RoundedRectangleBorder(
9697
borderRadius: BorderRadius.all(Radius.circular(4.0)),
9798
),
98-
child: new Padding(
99-
padding: new EdgeInsets.only(left: 0.0, top: 5.0, right: 0.0, bottom: 5.0),
100-
child: new Row(
101-
children: _renderList(),
102-
)));
99+
child: new Row(
100+
children: _renderList(),
101+
));
103102
}
104103
}

0 commit comments

Comments
 (0)