mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-11-03 23:05:44 +00:00 
			
		
		
		
	Merge pull request #102 from inventree/center-text
Fix alignment of text on home screen icons
This commit is contained in:
		@@ -182,8 +182,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
 | 
				
			|||||||
    return GestureDetector(
 | 
					    return GestureDetector(
 | 
				
			||||||
      child: Card(
 | 
					      child: Card(
 | 
				
			||||||
        margin: EdgeInsets.symmetric(
 | 
					        margin: EdgeInsets.symmetric(
 | 
				
			||||||
          vertical: 10,
 | 
					          vertical: 12,
 | 
				
			||||||
          horizontal: 10
 | 
					          horizontal: 12
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
        child: Column(
 | 
					        child: Column(
 | 
				
			||||||
          mainAxisAlignment: MainAxisAlignment.center,
 | 
					          mainAxisAlignment: MainAxisAlignment.center,
 | 
				
			||||||
@@ -193,12 +193,13 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
 | 
				
			|||||||
              color: connected && allowed ? COLOR_CLICK : Colors.grey,
 | 
					              color: connected && allowed ? COLOR_CLICK : Colors.grey,
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
            Divider(
 | 
					            Divider(
 | 
				
			||||||
              height: 12,
 | 
					              height: 15,
 | 
				
			||||||
              thickness: 0,
 | 
					              thickness: 0,
 | 
				
			||||||
              color: Colors.transparent,
 | 
					              color: Colors.transparent,
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
            Text(
 | 
					            Text(
 | 
				
			||||||
              label,
 | 
					              label,
 | 
				
			||||||
 | 
					              textAlign: TextAlign.center,
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
          ]
 | 
					          ]
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user