finally fix visual bug
This commit is contained in:
parent
8bec897d52
commit
e2caa421b8
|
@ -179,7 +179,7 @@ class _FullPostViewState extends State<FullPostView> {
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
maxHeight: MediaQuery.of(context).size.height * 2 / 3,
|
maxHeight: MediaQuery.of(context).size.height * 0.9,
|
||||||
maxWidth: global.getConstraints(context).maxWidth),
|
maxWidth: global.getConstraints(context).maxWidth),
|
||||||
width: global.getWidth(context),
|
width: global.getWidth(context),
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
|
|
|
@ -206,7 +206,7 @@ class _ProfileViewState extends State<ProfileView> {
|
||||||
constraints: global.getConstraints(context),
|
constraints: global.getConstraints(context),
|
||||||
width: global.getWidth(context) +
|
width: global.getWidth(context) +
|
||||||
MediaQuery.of(context).size.width * 0.2,
|
MediaQuery.of(context).size.width * 0.2,
|
||||||
height: MediaQuery.of(context).size.height * 2 / 3,
|
height: MediaQuery.of(context).size.height * 0.9,
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
itemCount: threads.length + 2,
|
itemCount: threads.length + 2,
|
||||||
|
|
Loading…
Reference in New Issue