File tree Expand file tree Collapse file tree 18 files changed +18
-18
lines changed
Import/Esri/ArcGISRuntime/Toolkit Expand file tree Collapse file tree 18 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ Item {
215215 /* ! \internal */
216216 property int padding: 3 * displayScaleFactor
217217 /* ! \internal */
218- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
218+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
219219 /* ! \internal */
220220 property real anchorPointx: 0
221221 /* ! \internal */
Original file line number Diff line number Diff line change 4949 }
5050 \endcode
5151 */
52- property real scaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
52+ property real scaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
5353
5454 /* !
5555 \qmlproperty bool autoHideCompass
Original file line number Diff line number Diff line change 5151 }
5252 \endcode
5353 */
54- property real scaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
54+ property real scaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
5555
5656 /* !
5757 \qmlproperty int textColor
Original file line number Diff line number Diff line change 8787 the width or height of UI elements so that the sizes appear similar
8888 (relative to screen size) across devices.
8989 */
90- property real scaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
90+ property real scaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
9191
9292 /* !
9393 \qmlproperty int textColor
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ StyleButton {
2525 id: locationButton
2626 property bool isActive: mapview && mapview .locationDisplay .started
2727 property int maxModes: 4 ;
28- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
28+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
2929 property MapView mapview: null
3030
3131 visible: mapview && mapview .locationDisplay
Original file line number Diff line number Diff line change 2525 property MapView mapview: null
2626 property real size: 40
2727 property bool resetOnClick: true
28- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
28+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
2929
3030 signal clicked ()
3131
Original file line number Diff line number Diff line change 3131 property var overviewLayer: null
3232 property string fillColor : " #60000000"
3333 property real zoomRatio: 10
34- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
34+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
3535
3636 width: 200 * displayScaleFactor
3737 height: width * 0.665
Original file line number Diff line number Diff line change 6767 id: popupStackView
6868
6969 /* ! \internal */
70- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
70+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
7171
7272 /* ========================================
7373 Configurable properties
Original file line number Diff line number Diff line change 6868 id: popupView
6969
7070 /* ! \internal */
71- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
71+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
7272
7373 /* ========================================
7474 Configurable properties
Original file line number Diff line number Diff line change 3434 property color attributeValueTextColorInternal
3535 property color closeButtonColorInternal
3636 property var popupManagerInternal: null
37- property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" ? 96 : 72 )
37+ property real displayScaleFactor: (Screen .logicalPixelDensity * 25.4 ) / (Qt .platform .os === " windows" || Qt . platform . os === " linux " ? 96 : 72 )
3838 property var displayedFields: null
3939 property var attachments: null
4040 property bool showAttachments: false
You can’t perform that action at this time.
0 commit comments