removed overflow and fixed sizing and text drawing of PowerClampEnergyStatusWidget.

This commit is contained in:
Faris Armoush
2025-05-20 13:56:00 +03:00
parent 4326559e14
commit c21842cc6d
2 changed files with 4 additions and 1 deletions

View File

@ -48,6 +48,9 @@ class PowerClampEnergyStatusWidget extends StatelessWidget {
fontWeight: FontWeight.w400, fontWeight: FontWeight.w400,
fontSize: 16, fontSize: 16,
), ),
softWrap: true,
maxLines: 2,
overflow: TextOverflow.ellipsis,
), ),
trailing: Text.rich( trailing: Text.rich(
TextSpan( TextSpan(

View File

@ -20,7 +20,7 @@ class AnalyticsOccupancyView extends StatelessWidget {
child: Column( child: Column(
spacing: 32, spacing: 32,
children: [ children: [
SizedBox(height: height * 0.45, child: const OccupancyEndSideBar()), SizedBox(height: height * 0.46, child: const OccupancyEndSideBar()),
SizedBox(height: height * 0.5, child: const OccupancyChartBox()), SizedBox(height: height * 0.5, child: const OccupancyChartBox()),
SizedBox(height: height * 0.5, child: const OccupancyHeatMapBox()), SizedBox(height: height * 0.5, child: const OccupancyHeatMapBox()),
], ],