@@ -119,7 +119,7 @@ function package_dialog.get_formspec()
119
119
local formspec = {
120
120
" size[8,4;true]" ,
121
121
" label[2.5,0.2;" , core .formspec_escape (package .title ), " ]" ,
122
- " label[0,1 ;" , core .formspec_escape (package .short_description ), " ]" ,
122
+ " textarea[0.2,1;8,3;; ;" , core .formspec_escape (package .short_description ), " ]" ,
123
123
" button[0,0;2,1;back;" , fgettext (" Back" ), " ]" ,
124
124
" button[6,0;2,1;install;" , fgettext (" Install" ), " ]" ,
125
125
}
@@ -290,18 +290,14 @@ function store.get_formspec()
290
290
formspec [# formspec + 1 ] = " ]"
291
291
292
292
-- title
293
- formspec [# formspec + 1 ] = " label[1,0 ;"
293
+ formspec [# formspec + 1 ] = " label[1,-0.1 ;"
294
294
formspec [# formspec + 1 ] = core .formspec_escape (package .title ..
295
295
" by " .. package .author )
296
296
formspec [# formspec + 1 ] = " ]"
297
297
298
298
-- description
299
- local short = package .short_description
300
- if # short > 60 then
301
- short = short :sub (1 , 59 ) .. " …"
302
- end
303
- formspec [# formspec + 1 ] = " label[1,0.3;"
304
- formspec [# formspec + 1 ] = core .formspec_escape (short )
299
+ formspec [# formspec + 1 ] = " textarea[1.25,0.3;5,1;;;"
300
+ formspec [# formspec + 1 ] = core .formspec_escape (package .short_description )
305
301
formspec [# formspec + 1 ] = " ]"
306
302
307
303
-- buttons
0 commit comments