Fix overflow issue with backup selection widget
This commit is contained in:
parent
1fab30c2e1
commit
58b949c205
3 changed files with 10 additions and 5 deletions
|
@ -63,6 +63,7 @@ class _BackupFolderSelectionWidgetState
|
|||
Container(
|
||||
width: double.infinity,
|
||||
height: 64,
|
||||
padding: EdgeInsets.only(left: 20, right: 20),
|
||||
child: button(
|
||||
widget.buttonText,
|
||||
fontSize: 18,
|
||||
|
@ -98,7 +99,7 @@ class _BackupFolderSelectionWidgetState
|
|||
InkWell(
|
||||
child: Container(
|
||||
color: _backedupFolders.contains(file.deviceFolder)
|
||||
? Color.fromRGBO(10, 20, 20, 1.0)
|
||||
? Color.fromRGBO(16, 32, 32, 1.0)
|
||||
: null,
|
||||
padding: EdgeInsets.fromLTRB(24, 20, 24, 20),
|
||||
child: Row(
|
||||
|
@ -165,7 +166,7 @@ class _BackupFolderSelectionWidgetState
|
|||
}
|
||||
return Container(
|
||||
height: 400,
|
||||
width: 300,
|
||||
width: 340,
|
||||
child: child,
|
||||
);
|
||||
},
|
||||
|
|
|
@ -51,7 +51,9 @@ class GalleryFooterWidget extends StatelessWidget {
|
|||
builder: (context) {
|
||||
return AlertDialog(
|
||||
content: const BackupFolderSelectionWidget("preserve"),
|
||||
backgroundColor: Colors.black.withOpacity(0.8),
|
||||
backgroundColor: Color.fromRGBO(8, 18, 18, 1),
|
||||
insetPadding: const EdgeInsets.all(24),
|
||||
contentPadding: const EdgeInsets.all(24),
|
||||
);
|
||||
},
|
||||
barrierColor: Colors.black.withOpacity(0.85),
|
||||
|
|
|
@ -64,8 +64,10 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
context: context,
|
||||
builder: (context) {
|
||||
return AlertDialog(
|
||||
content: const BackupFolderSelectionWidget("preserve"),
|
||||
backgroundColor: Colors.black.withOpacity(0.8),
|
||||
content: const BackupFolderSelectionWidget("backup"),
|
||||
backgroundColor: Color.fromRGBO(8, 18, 18, 1),
|
||||
insetPadding: const EdgeInsets.all(24),
|
||||
contentPadding: const EdgeInsets.all(24),
|
||||
);
|
||||
},
|
||||
barrierColor: Colors.black.withOpacity(0.85),
|
||||
|
|
Loading…
Reference in a new issue