Reduce padding of network capabilities table and put in horizontal scroll if overflowing

Fixes Issue #102
This commit is contained in:
Hank Grabowski 2024-08-30 22:46:14 -04:00
parent 683d9a84a5
commit 5fb573e5f5
2 changed files with 16 additions and 8 deletions

View file

@ -6,6 +6,8 @@
* Use the network data in the friendica extensions rather than the application data if available since the app data
is the app name.
* Fixes
* Fixes final column of network settings getting chopped off on smaller
screens ([Issue #102](https://gitlab.com/mysocialportal/relatica/-/issues/102))
* New Features
* Focus Mode with ability to set duration and difficulty for unlocking beforehand. Focus mode in this release shows
only the "My Posts" timeline and no bottom navigation bar. So one can't get to search, notifications,

View file

@ -229,14 +229,20 @@ class NetworkCapabilitiesWidget extends StatelessWidget {
),
],
),
subtitle: DataTable(
subtitle: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: DataTable(
columnSpacing: 10.0,
columns: const [
DataColumn(label: Text('Network')),
DataColumn(
label: Text('Network'),
),
DataColumn(label: Text('React')),
DataColumn(label: Text('Reshare')),
DataColumn(label: Text('Comment')),
],
rows: rows,
),
));
}
}