Reduce minimum tile size to support 2 columns on most devices
This commit is contained in:
parent
33feaed389
commit
89c6e868a1
@ -41,7 +41,7 @@ ApplicationWindow {
|
||||
visible: true
|
||||
width: 360
|
||||
height: 580
|
||||
minimumWidth: 360
|
||||
minimumWidth: 350
|
||||
minimumHeight: 480
|
||||
visibility: kioskMode ? ApplicationWindow.FullScreen : settings.viewMode
|
||||
color: Material.background
|
||||
|
||||
@ -49,8 +49,7 @@ MouseArea {
|
||||
anchors.fill: parent
|
||||
anchors.margins: app.margins / 2
|
||||
|
||||
readonly property int minTileWidth: 180
|
||||
readonly property int minTileHeight: 240
|
||||
readonly property int minTileWidth: 172
|
||||
readonly property int tilesPerRow: root.width / minTileWidth
|
||||
|
||||
cellWidth: width / tilesPerRow
|
||||
|
||||
@ -56,8 +56,7 @@ MouseArea {
|
||||
id: gridView
|
||||
anchors.fill: parent
|
||||
anchors.margins: app.margins / 2
|
||||
readonly property int minTileWidth: 180
|
||||
readonly property int minTileHeight: 240
|
||||
readonly property int minTileWidth: 172
|
||||
readonly property int tilesPerRow: root.width / minTileWidth
|
||||
|
||||
cellWidth: gridView.width / tilesPerRow
|
||||
|
||||
@ -48,8 +48,7 @@ MouseArea {
|
||||
anchors.margins: app.margins / 2
|
||||
|
||||
|
||||
readonly property int minTileWidth: 180
|
||||
readonly property int minTileHeight: 180
|
||||
readonly property int minTileWidth: 172
|
||||
readonly property int tilesPerRow: root.width / minTileWidth
|
||||
|
||||
model: TagListModel {
|
||||
@ -409,6 +408,7 @@ MouseArea {
|
||||
id: mediaControllerDelegate
|
||||
MediaControls {
|
||||
property var devices: null
|
||||
iconSize: app.iconSize
|
||||
DevicesProxy {
|
||||
id: mediaControllers
|
||||
engine: _engine
|
||||
|
||||
@ -49,8 +49,7 @@ MouseArea {
|
||||
anchors.fill: parent
|
||||
anchors.margins: app.margins / 2
|
||||
|
||||
readonly property int minTileWidth: 180
|
||||
readonly property int minTileHeight: 180
|
||||
readonly property int minTileWidth: 172
|
||||
readonly property int tilesPerRow: root.width / minTileWidth
|
||||
|
||||
model: RulesFilterModel {
|
||||
|
||||
Reference in New Issue
Block a user