added more room for exposure pairs list

This commit is contained in:
Vadim 2024-09-23 15:45:32 +02:00
parent 778ab12de0
commit 6ee6c81164

View file

@ -76,30 +76,33 @@ class CameraContainer extends StatelessWidget {
height: min(meteringContainerHeight, cameraPreviewHeight) + Dimens.paddingM * 2, height: min(meteringContainerHeight, cameraPreviewHeight) + Dimens.paddingM * 2,
), ),
Expanded( Expanded(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: Dimens.paddingM),
child: Row( child: Row(
children: [ children: [
Expanded( Expanded(
child: Padding( child: Padding(
padding: EdgeInsets.only(top: topBarOverflow >= 0 ? topBarOverflow : 0), padding: EdgeInsets.only(
left: Dimens.paddingM - Dimens.grid8,
top: topBarOverflow >= 0 ? topBarOverflow : 0,
),
child: ExposurePairsList( child: ExposurePairsList(
exposurePairs, exposurePairs,
onExposurePairTap: onExposurePairTap, onExposurePairTap: onExposurePairTap,
), ),
), ),
), ),
const SizedBox(width: Dimens.grid8), SizedBox(
Expanded( width: MediaQuery.sizeOf(context).width / 2 - Dimens.grid4,
child: Padding( child: Padding(
padding: EdgeInsets.only(top: topBarOverflow <= 0 ? -topBarOverflow : 0), padding: EdgeInsets.only(
top: topBarOverflow <= 0 ? -topBarOverflow : 0,
right: Dimens.paddingM,
),
child: const _CameraControlsBuilder(), child: const _CameraControlsBuilder(),
), ),
), ),
], ],
), ),
), ),
),
], ],
), ),
), ),