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