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

Merge branch '19-fix-display-on-large-boards' into 'master'

Resolve "Fix display on large boards"

Closes #19

See merge request !18
parents 162bc379 38c2b5c7
No related branches found
No related tags found
1 merge request!18Resolve "Fix display on large boards"
Pipeline #2890 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