@@ -66,30 +66,47 @@ class _ScaleAnswerViewState extends State<ScaleAnswerView> {
6666 mainAxisAlignment: MainAxisAlignment .spaceEvenly,
6767 crossAxisAlignment: CrossAxisAlignment .center,
6868 children: [
69- Padding (
70- padding: const EdgeInsets .all (14.0 ),
71- child: Text (
72- _sliderValue.toInt ().toString (),
73- style: Theme .of (context).textTheme.headlineSmall,
69+ if (_scaleAnswerFormat.showValue)
70+ Padding (
71+ padding: const EdgeInsets .all (14.0 ),
72+ child: Text (
73+ _sliderValue.toInt ().toString (),
74+ style: Theme .of (context).textTheme.headlineSmall,
75+ ),
7476 ),
75- ),
7677 Column (
7778 children: [
7879 Padding (
79- padding: const EdgeInsets .symmetric (horizontal: 32 .0 ),
80+ padding: const EdgeInsets .symmetric (horizontal: 16 .0 ),
8081 child: Row (
8182 mainAxisAlignment: MainAxisAlignment .spaceBetween,
83+ crossAxisAlignment: CrossAxisAlignment .center,
8284 children: [
83- Text (
84- _scaleAnswerFormat.minimumValueDescription,
85- style: TextStyle (
86- fontSize: 16.0 ,
85+ Expanded (
86+ child: Text (
87+ _scaleAnswerFormat.minimumValueDescription,
88+ style: TextStyle (
89+ fontSize: 16.0 ,
90+ ),
91+ maxLines: 6 ,
92+ overflow: TextOverflow .ellipsis,
93+ textDirection: TextDirection .ltr,
94+ textAlign: TextAlign .start,
8795 ),
8896 ),
89- Text (
90- _scaleAnswerFormat.maximumValueDescription,
91- style: TextStyle (
92- fontSize: 16.0 ,
97+ SizedBox (
98+ width: 32.0 ,
99+ ),
100+ Expanded (
101+ child: Text (
102+ _scaleAnswerFormat.maximumValueDescription,
103+ style: TextStyle (
104+ fontSize: 16.0 ,
105+ ),
106+ maxLines: 6 ,
107+ overflow: TextOverflow .ellipsis,
108+ textDirection: TextDirection .ltr,
109+ textAlign: TextAlign .end,
93110 ),
94111 ),
95112 ],
0 commit comments