hyzp_ybqx-Commit087:优化,已经初步调整Url下载行的组件
This commit is contained in:
@@ -100,14 +100,31 @@ class _LoginPageState extends State<page6_download> {
|
||||
),
|
||||
SizedBox(width: ScreenUtil().setWidth(40)),
|
||||
Container(
|
||||
width: ScreenUtil().screenWidth - 130,
|
||||
child: Text(
|
||||
title,
|
||||
style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
||||
width: ScreenUtil().screenWidth - 150,
|
||||
// height: ScreenUtil().setHeight(200),
|
||||
// child: Text(
|
||||
// title,
|
||||
// style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
||||
// maxLines: 1,
|
||||
// overflow: TextOverflow.ellipsis,
|
||||
// ),
|
||||
child: TextField(
|
||||
// textAlignVertical: TextAlignVertical(y: 1.0),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
cursorHeight: 60,
|
||||
style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
||||
controller: TextEditingController(text: title),
|
||||
readOnly: true,
|
||||
decoration: InputDecoration(
|
||||
//contentPadding: EdgeInsets.only(bottom: 16),
|
||||
// hintText: title,
|
||||
isCollapsed: true, //重点,相当于高度包裹的意思,必须设置为true,不然有默认奇妙的最小高度
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(30), borderSide: BorderSide.none),
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(width: ScreenUtil().setWidth(40)),
|
||||
Image.asset('assets/images/copy.png',
|
||||
height: ScreenUtil().setHeight(88), fit: BoxFit.fitHeight),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user