Skip to content

Commit

Permalink
fix: layout
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Jul 15, 2024
1 parent 9a3a4ad commit 876c1bc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ui/lib/tv_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
children: [
DataTable(columns: const [
DataColumn(label: Text("#")),
DataColumn(label: SizedBox(width: 500, child: Text("标题"),)),
DataColumn(
label: SizedBox(
width: 500,
child: Text("标题"),
)),
DataColumn(label: Text("播出时间")),
DataColumn(label: Text("状态")),
DataColumn(label: Text("操作"))
Expand All @@ -104,6 +108,7 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
}
return ListView(
children: [

Card(
margin: const EdgeInsets.all(4),
clipBehavior: Clip.hardEdge,
Expand All @@ -121,6 +126,7 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
),
),
Expanded(
flex: 6,
child: Row(
children: [
Expanded(
Expand Down Expand Up @@ -157,7 +163,9 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
fontWeight: FontWeight.bold),
),
const Text(""),
Text(details!.overview!)
Text(
details!.overview!,
),
],
)),
Column(
Expand Down

0 comments on commit 876c1bc

Please sign in to comment.