File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,7 +285,11 @@ HomeForm {
285285 }
286286 text: value
287287 horizontalAlignment: Text .AlignHCenter
288+ width: Math .max (50 , parent .width - (writable ? 100 * settings .ui_zoom / 100 : 12 * settings .ui_zoom / 100 ))
289+ height: 58 * settings .ui_zoom / 100
288290 font .pointSize : valueFontSize * settings .ui_zoom / 100
291+ fontSizeMode: Text .Fit
292+ minimumPointSize: 10
289293 font .bold : true
290294 visible: ! largeButton
291295
@@ -303,7 +307,11 @@ HomeForm {
303307 }
304308 text: secondLine
305309 horizontalAlignment: Text .AlignHCenter
310+ width: Math .max (50 , parent .width - 12 * settings .ui_zoom / 100 )
311+ height: 24 * settings .ui_zoom / 100
306312 font .pointSize : settings .theme_tile_secondline_textsize * settings .ui_zoom / 100
313+ fontSizeMode: Text .Fit
314+ minimumPointSize: 7
307315 font .bold : false
308316 visible: ! largeButton
309317
@@ -316,11 +324,15 @@ HomeForm {
316324 top: myIcon .top
317325 }
318326 font .bold : true
319- font .pointSize : labelFontSize
327+ font .pointSize : labelFontSize
328+ fontSizeMode: Text .Fit
329+ minimumPointSize: 8
320330 color: " white"
321331 text: name
322332 anchors .left : parent .left
323333 anchors .leftMargin : 55 * settings .ui_zoom / 100
334+ width: Math .max (40 , parent .width - 61 * settings .ui_zoom / 100 )
335+ height: 40 * settings .ui_zoom / 100
324336 anchors .topMargin : 20 * settings .ui_zoom / 100
325337 visible: ! largeButton
326338
You can’t perform that action at this time.
0 commit comments