merge: 合并 K30-D 评论输入框尺寸修正
This commit is contained in:
commit
ced0fae64a
2 files changed
+6
-6
No files matched your search
@@ -22,9 +22,9 @@ import 'comment_tile.dart';
|
|||||||
const double _minSheetHeight = 280;
|
const double _minSheetHeight = 280;
|
||||||
const double _maxSheetHeight = 520;
|
const double _maxSheetHeight = 520;
|
||||||
const int _maxCommentLength = 300;
|
const int _maxCommentLength = 300;
|
||||||
const double _composerRadius = 22;
|
const double _composerRadius = 12;
|
||||||
const double _composerHeight = 44;
|
const double _composerHeight = 52;
|
||||||
const double _sendButtonSize = 36;
|
const double _sendButtonSize = 40;
|
||||||
const double _sheetRadius = 20;
|
const double _sheetRadius = 20;
|
||||||
|
|
||||||
/// 服务端评论底部弹窗:匿名列表、游标翻页、回复、点赞和本人删除。
|
/// 服务端评论底部弹窗:匿名列表、游标翻页、回复、点赞和本人删除。
|
||||||
@@ -343,7 +343,7 @@ class _DramaCommentsSheetState extends State<DramaCommentsSheet> {
|
|||||||
counterText: '',
|
counterText: '',
|
||||||
filled: true,
|
filled: true,
|
||||||
fillColor: AppColors.commentInput,
|
fillColor: AppColors.commentInput,
|
||||||
contentPadding: const EdgeInsets.symmetric(horizontal: 14),
|
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),
|
||||||
isDense: true,
|
isDense: true,
|
||||||
border: clear,
|
border: clear,
|
||||||
enabledBorder: clear,
|
enabledBorder: clear,
|
||||||
|
|||||||
@@ -142,9 +142,9 @@ void main() {
|
|||||||
|
|
||||||
expect(
|
expect(
|
||||||
tester.getSize(find.byKey(const Key('comment-post'))),
|
tester.getSize(find.byKey(const Key('comment-post'))),
|
||||||
const Size(36, 36),
|
const Size(40, 40),
|
||||||
);
|
);
|
||||||
expect(tester.getSize(find.byKey(const Key('comment-input'))).height, 44);
|
expect(tester.getSize(find.byKey(const Key('comment-input'))).height, 52);
|
||||||
expect(
|
expect(
|
||||||
find.byKey(const Key('player-comments-drag-handle')),
|
find.byKey(const Key('player-comments-drag-handle')),
|
||||||
findsOneWidget,
|
findsOneWidget,
|
||||||
|
|||||||
Reference in new issue
Block a user