File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class _TorrentTileState extends State<TorrentTile> {
49
49
@override
50
50
Widget build (BuildContext context) {
51
51
double hp = MediaQuery .of (context).size.height;
52
+ double wp = MediaQuery .of (context).size.width;
52
53
return Slidable (
53
54
actionPane: SlidableBehindActionPane (),
54
55
actionExtentRatio: 0.25 ,
@@ -315,7 +316,12 @@ class _TorrentTileState extends State<TorrentTile> {
315
316
mainAxisAlignment: MainAxisAlignment .spaceBetween,
316
317
children: [
317
318
Text ('Location' ),
318
- Text (widget.model.directory),
319
+ Flexible (
320
+ child: Container (
321
+ padding: EdgeInsets .only (left: wp * 0.1 ),
322
+ child: Text (widget.model.directory),
323
+ ),
324
+ ),
319
325
],
320
326
),
321
327
SizedBox (
@@ -327,9 +333,14 @@ class _TorrentTileState extends State<TorrentTile> {
327
333
Text (
328
334
'Tags' ,
329
335
),
330
- Text ((widget.model.tags.length != 0 )
331
- ? widget.model.tags.toString ()
332
- : 'None' ),
336
+ Flexible (
337
+ child: Container (
338
+ padding: EdgeInsets .only (left: wp * 0.17 ),
339
+ child: Text ((widget.model.tags.length != 0 )
340
+ ? widget.model.tags.toString ()
341
+ : 'None' ),
342
+ ),
343
+ ),
333
344
],
334
345
),
335
346
SizedBox (
You can’t perform that action at this time.
0 commit comments