Skip to content
Snippets Groups Projects
Commit 38c2b5c7 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Fix display first cell on big boards

parent 162bc379
No related branches found
No related tags found
1 merge request!18Resolve "Fix display on large boards"
Pipeline #2836 passed
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
app.versionName=0.0.17 app.versionName=0.0.18
app.versionCode=17 app.versionCode=18
...@@ -20,6 +20,8 @@ class Cell { ...@@ -20,6 +20,8 @@ class Cell {
); );
if ((row == 0) && (col == 0)) { if ((row == 0) && (col == 0)) {
double blackPointFontSize = 30.0 - (myProvider.boardSize);
return Stack( return Stack(
alignment: Alignment.center, alignment: Alignment.center,
children: <Widget>[ children: <Widget>[
...@@ -29,7 +31,7 @@ class Cell { ...@@ -29,7 +31,7 @@ class Cell {
'•', '•',
style: TextStyle( style: TextStyle(
color: Colors.black, color: Colors.black,
fontSize: 30.0, fontSize: blackPointFontSize,
fontWeight: FontWeight.w800, fontWeight: FontWeight.w800,
), ),
textAlign: TextAlign.center textAlign: TextAlign.center
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment