更新英文语言相关问题。
This commit is contained in:
@@ -414,19 +414,36 @@ class _CalibrationPersonPageState extends State<CalibrationPersonPage> {
|
||||
),
|
||||
|
||||
// 床头文字
|
||||
Positioned(
|
||||
top: 23.rpx,
|
||||
left: (MediaQuery.sizeOf(context)
|
||||
.width *
|
||||
0.65) /
|
||||
2 -
|
||||
26.rpx,
|
||||
child: Text(
|
||||
'床头'.tr,
|
||||
style: TextStyle(
|
||||
fontSize: 26.rpx,
|
||||
color: themeController
|
||||
.currentColor.sc4,
|
||||
// Positioned(
|
||||
// top: 23.rpx,
|
||||
// left: (MediaQuery.sizeOf(context)
|
||||
// .width *
|
||||
// 0.65) /
|
||||
// 2 -
|
||||
// 26.rpx,
|
||||
// child: Text(
|
||||
// '床头'.tr,
|
||||
// style: TextStyle(
|
||||
// fontSize: 26.rpx,
|
||||
// color: themeController
|
||||
// .currentColor.sc4,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// 床头文字 - 自动居中版本
|
||||
Align(
|
||||
alignment:
|
||||
Alignment.topCenter, // 顶部居中
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 23.rpx), // 距离顶部的距离
|
||||
child: Text(
|
||||
'床头'.tr,
|
||||
style: TextStyle(
|
||||
fontSize: 26.rpx,
|
||||
color: themeController
|
||||
.currentColor.sc4,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user