Skip to content
Snippets Groups Projects
Commit 4c018ec6 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: chart margins

parent 3c818922
No related branches found
No related tags found
1 merge request!12Clhp map
......@@ -14,7 +14,6 @@ class BarData extends StatefulWidget {
class _BarDataState extends State<BarData> {
static const double barWidth = 30;
// NB should be allocated values dynamically
/*
selectedTile.IceStats.asMap().forEach((index, iceStats) {
......
......@@ -216,7 +216,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
],
),
const SizedBox(height: contPadding), // Padding between containers
Column(
Column( // Ice stats container
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
......@@ -281,10 +281,13 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
),
const SizedBox(width: 10),
Expanded(
child: Text(
'There may be multiple layers of black ice and slush ice stacked'
' between the snow and the steel ice.',
style: regTextStyle,
child: Padding(
padding: const EdgeInsets.only(right: 15),
child: Text(
'There may be multiple layers of black ice and slush ice stacked'
' between the snow and the steel ice.',
style: regTextStyle,
),
),
),
],
......
......@@ -75,7 +75,7 @@ class StatCharts extends StatelessWidget {
),*/
const SizedBox(height: 20),
SizedBox(
width: MediaQuery.of(context).size.width,
width: MediaQuery.of(context).size.width-30,
child: const BarData(),
),
],
......
No preview for this file type
No preview for this file type
File added
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment