Changeset View
Changeset View
Standalone View
Standalone View
src/qml/NavigationActionBar.qml
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Line(s) | 109 | FlatButtonWithToolTip { | |||
---|---|---|---|---|---|
114 | icon.height: elisaTheme.smallControlButtonSize | 114 | icon.height: elisaTheme.smallControlButtonSize | ||
115 | icon.width: elisaTheme.smallControlButtonSize | 115 | icon.width: elisaTheme.smallControlButtonSize | ||
116 | 116 | | |||
117 | focus: enableGoBack | 117 | focus: enableGoBack | ||
118 | visible: enableGoBack | 118 | visible: enableGoBack | ||
119 | }, | 119 | }, | ||
120 | Item { | 120 | Item { | ||
121 | id: spacer | 121 | id: spacer | ||
122 | width: elisaTheme.layoutHorizontalMargin | 122 | Layout.preferredWidth: elisaTheme.layoutHorizontalMargin | ||
123 | visible: goPreviousButton.visible | 123 | visible: goPreviousButton.visible | ||
124 | }, | 124 | }, | ||
125 | Image { | 125 | Image { | ||
126 | id: mainIcon | 126 | id: mainIcon | ||
127 | source: image | 127 | source: image | ||
128 | 128 | | |||
129 | height: authorAndAlbumLayout.height | 129 | Layout.preferredHeight: authorAndAlbumLayout.height | ||
130 | width: height | 130 | Layout.preferredWidth: height | ||
131 | sourceSize.height: height | 131 | sourceSize.height: height | ||
132 | sourceSize.width: width | 132 | sourceSize.width: width | ||
133 | fillMode: Image.PreserveAspectFit | 133 | fillMode: Image.PreserveAspectFit | ||
134 | asynchronous: true | 134 | asynchronous: true | ||
135 | 135 | | |||
136 | Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft | 136 | Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft | ||
137 | }, | 137 | }, | ||
138 | Item { | 138 | Item { | ||
139 | width: elisaTheme.layoutHorizontalMargin | 139 | Layout.preferredWidth: elisaTheme.layoutHorizontalMargin | ||
140 | visible: mainIcon.visible | 140 | visible: mainIcon.visible | ||
141 | }, | 141 | }, | ||
142 | ColumnLayout { | 142 | ColumnLayout { | ||
143 | Layout.fillWidth: true | 143 | Layout.fillWidth: true | ||
144 | Layout.fillHeight: true | 144 | Layout.fillHeight: true | ||
145 | 145 | | |||
146 | id: authorAndAlbumLayout | 146 | id: authorAndAlbumLayout | ||
147 | 147 | | |||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |