opt pub img panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-23 18:09:55 +08:00
parent 0b495f100f
commit 0a9897f6a4
2 changed files with 4 additions and 0 deletions

View File

@@ -91,11 +91,13 @@ class _CreateDynPanelState extends CommonPublishPageState<CreateDynPanel> {
Widget _buildImageList(ThemeData theme) => Obx(
() => SizedBox(
height: 100,
width: double.infinity,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Row(
spacing: 10,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
...List.generate(
pathList.length, (index) => buildImage(index, 100)),

View File

@@ -92,12 +92,14 @@ class _ReplyPageState extends CommonPublishPageState<ReplyPage> {
if (pathList.isNotEmpty) {
return Container(
height: 85,
width: double.infinity,
padding: const EdgeInsets.only(bottom: 10),
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
padding: const EdgeInsets.symmetric(horizontal: 15),
child: Row(
spacing: 10,
crossAxisAlignment: CrossAxisAlignment.start,
children: List.generate(
pathList.length,
(index) => buildImage(index, 75),