Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

title bar and cell border slipped when use with other unicode language #12

Open
singnoi opened this issue Feb 9, 2020 · 5 comments
Open

Comments

@singnoi
Copy link

singnoi commented Feb 9, 2020

ae1

final response =
await http.get("http://www.jupiter.co.th/test/json1.txt");

like this
can I fix it by change Alignment or padding of tableCellBuilder ?

@apgapg
Copy link
Owner

apgapg commented Feb 10, 2020

Yes i think in this case you need to provide table cell builder and adjust its height/padding as per required

@mediocre-mayda
Copy link

I have this issue with Arabic characters, please instruct me in how I can solve this, meaning making all the columns the same height or getting rid of the extra padding that seems to come Arabic characters

@singnoi
Copy link
Author

singnoi commented Feb 14, 2020

Yes i think in this case you need to provide table cell builder and adjust its height/padding as per required

thank you, but this problem still persists
I think ( from my rookie experience), the row height of cells in same row would be equal if use the row widget
but I'm too new to fix

thank you

@apgapg
Copy link
Owner

apgapg commented Feb 14, 2020

@singnoi Do one thing use table cell builder and use a container of fixed height lets say 70 or 100 . In this way each row cell would be of fixed height and using other language wont affect it

@apgapg
Copy link
Owner

apgapg commented Feb 14, 2020

@singnoi

tableCellBuilder: (value) {
    return Container(
      height: 100,
      padding: EdgeInsets.symmetric(horizontal: 4.0, vertical: 2.0),
      decoration: BoxDecoration(border: Border.all(width: 0.5, color: Colors.grey.withOpacity(0.5))),
      child: Text(
        value,
        textAlign: TextAlign.center,
        style: Theme.of(context).textTheme.display1.copyWith(fontSize: 14.0, color: Colors.grey[900]),
      ),
    );
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants