TF-3640 Increase composer size when there is only one composer
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -50,8 +50,12 @@ class DesktopResponsiveContainerView extends StatelessWidget {
|
||||
clipBehavior: Clip.antiAlias,
|
||||
child: Container(
|
||||
color: DesktopResponsiveContainerViewStyle.backgroundColor,
|
||||
width: DesktopResponsiveContainerViewStyle.normalScreenMaxWidth,
|
||||
height: DesktopResponsiveContainerViewStyle.normalScreenMaxHeight,
|
||||
width: composerManager.composerIdsQueue.length > 1
|
||||
? DesktopResponsiveContainerViewStyle.normalScreenMaxWidth
|
||||
: responsiveUtils.getSizeScreenWidth(context) * 0.5,
|
||||
height: composerManager.composerIdsQueue.length > 1
|
||||
? DesktopResponsiveContainerViewStyle.normalScreenMaxHeight
|
||||
: responsiveUtils.getSizeScreenHeight(context) * 0.75,
|
||||
child: LayoutBuilder(builder: (context, constraints) =>
|
||||
PointerInterceptor(
|
||||
child: childBuilder.call(context, constraints),
|
||||
|
||||
Reference in New Issue
Block a user