mod: 评论页弹框高度

This commit is contained in:
guozhigq
2023-07-15 18:25:10 +08:00
parent c7b67c3a10
commit a23103eb69
5 changed files with 27 additions and 13 deletions

View File

@ -12,11 +12,14 @@ class VideoReplyReplyPanel extends StatefulWidget {
int? rpid;
Function? closePanel;
ReplyItemModel? firstFloor;
double? paddingTop;
VideoReplyReplyPanel({
this.oid,
this.rpid,
this.closePanel,
this.firstFloor,
this.paddingTop,
super.key,
});
@ -59,7 +62,9 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
@override
Widget build(BuildContext context) {
return Container(
height: Get.size.height - Get.size.width * 9 / 16 - 45,
height: MediaQuery.of(context).size.height -
MediaQuery.of(context).size.width * 9 / 16 -
widget.paddingTop!,
color: Theme.of(context).colorScheme.background,
child: Column(
children: [