mirror of
https://github.com/hamaluik/timecop.git
synced 2025-07-02 02:56:48 +08:00
Merge pull request #131 from srn08/text-cutoff
Fixed LineChart Text Cutoff
This commit is contained in:
@ -168,10 +168,10 @@ class _WeeklyTotalsState extends State<WeeklyTotals> {
|
||||
int week = dweek.toInt();
|
||||
DateTime date =
|
||||
firstDate!.add(Duration(days: week * 7));
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(2.0),
|
||||
return Container(
|
||||
padding: const EdgeInsets.only(top: 5),
|
||||
child: Text(
|
||||
dateFormat.format(date).replaceAll(' ', '\n'),
|
||||
dateFormat.format(date),
|
||||
style: theme.textTheme.bodySmall,
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user