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