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,
|
clipBehavior: Clip.antiAlias,
|
||||||
child: Container(
|
child: Container(
|
||||||
color: DesktopResponsiveContainerViewStyle.backgroundColor,
|
color: DesktopResponsiveContainerViewStyle.backgroundColor,
|
||||||
width: DesktopResponsiveContainerViewStyle.normalScreenMaxWidth,
|
width: composerManager.composerIdsQueue.length > 1
|
||||||
height: DesktopResponsiveContainerViewStyle.normalScreenMaxHeight,
|
? DesktopResponsiveContainerViewStyle.normalScreenMaxWidth
|
||||||
|
: responsiveUtils.getSizeScreenWidth(context) * 0.5,
|
||||||
|
height: composerManager.composerIdsQueue.length > 1
|
||||||
|
? DesktopResponsiveContainerViewStyle.normalScreenMaxHeight
|
||||||
|
: responsiveUtils.getSizeScreenHeight(context) * 0.75,
|
||||||
child: LayoutBuilder(builder: (context, constraints) =>
|
child: LayoutBuilder(builder: (context, constraints) =>
|
||||||
PointerInterceptor(
|
PointerInterceptor(
|
||||||
child: childBuilder.call(context, constraints),
|
child: childBuilder.call(context, constraints),
|
||||||
|
|||||||
Reference in New Issue
Block a user