mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
opt pub img panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -91,11 +91,13 @@ class _CreateDynPanelState extends CommonPublishPageState<CreateDynPanel> {
|
|||||||
Widget _buildImageList(ThemeData theme) => Obx(
|
Widget _buildImageList(ThemeData theme) => Obx(
|
||||||
() => SizedBox(
|
() => SizedBox(
|
||||||
height: 100,
|
height: 100,
|
||||||
|
width: double.infinity,
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||||
child: Row(
|
child: Row(
|
||||||
spacing: 10,
|
spacing: 10,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
...List.generate(
|
...List.generate(
|
||||||
pathList.length, (index) => buildImage(index, 100)),
|
pathList.length, (index) => buildImage(index, 100)),
|
||||||
|
|||||||
@@ -92,12 +92,14 @@ class _ReplyPageState extends CommonPublishPageState<ReplyPage> {
|
|||||||
if (pathList.isNotEmpty) {
|
if (pathList.isNotEmpty) {
|
||||||
return Container(
|
return Container(
|
||||||
height: 85,
|
height: 85,
|
||||||
|
width: double.infinity,
|
||||||
padding: const EdgeInsets.only(bottom: 10),
|
padding: const EdgeInsets.only(bottom: 10),
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 15),
|
padding: const EdgeInsets.symmetric(horizontal: 15),
|
||||||
child: Row(
|
child: Row(
|
||||||
spacing: 10,
|
spacing: 10,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: List.generate(
|
children: List.generate(
|
||||||
pathList.length,
|
pathList.length,
|
||||||
(index) => buildImage(index, 75),
|
(index) => buildImage(index, 75),
|
||||||
|
|||||||
Reference in New Issue
Block a user