forked from cwtch.im/cwtch-ui
Fixup Widths on Small Screens
This commit is contained in:
parent
08b9dfed5f
commit
2495814869
|
@ -133,7 +133,7 @@ class _GlobalSettingsViewState extends State<GlobalSettingsView> {
|
|||
),
|
||||
leading: Icon(Icons.table_chart, color: settings.current().mainTextColor),
|
||||
trailing: Container(
|
||||
width: 200.0,
|
||||
width: MediaQuery.of(context).size.width / 4,
|
||||
child: DropdownButton(
|
||||
isExpanded: true,
|
||||
value: settings.uiColumnModeLandscape.toString(),
|
||||
|
|
|
@ -108,7 +108,7 @@ class _TorStatusView extends State<TorStatusView> {
|
|||
subtitle: Text(AppLocalizations.of(context)!.torSettingsCustomSocksPortDescription),
|
||||
leading: Icon(CwtchIcons.swap_horiz_24px, color: settings.current().mainTextColor),
|
||||
trailing: Container(
|
||||
width: 300,
|
||||
width: MediaQuery.of(context).size.width / 4,
|
||||
child: CwtchTextField(
|
||||
number: true,
|
||||
controller: torSocksPortController,
|
||||
|
@ -139,7 +139,7 @@ class _TorStatusView extends State<TorStatusView> {
|
|||
subtitle: Text(AppLocalizations.of(context)!.torSettingsCustomControlPortDescription),
|
||||
leading: Icon(CwtchIcons.swap_horiz_24px, color: settings.current().mainTextColor),
|
||||
trailing: Container(
|
||||
width: 300,
|
||||
width: MediaQuery.of(context).size.width / 4,
|
||||
child: CwtchTextField(
|
||||
number: true,
|
||||
controller: torControlPortController,
|
||||
|
|
|
@ -37,7 +37,7 @@ class _CwtchFolderPickerState extends State<CwtchFolderPicker> {
|
|||
title: Text(widget.label),
|
||||
subtitle: Text(widget.description),
|
||||
trailing: Container(
|
||||
width: 200,
|
||||
width: MediaQuery.of(context).size.width / 4,
|
||||
child: CwtchButtonTextField(
|
||||
controller: ctrlrVal,
|
||||
readonly: Platform.isAndroid,
|
||||
|
|
Loading…
Reference in New Issue