Skip to content

Commit

Permalink
Show gallery link under images and move notification lower as there m…
Browse files Browse the repository at this point in the history
…ight be a notch

Fixes #30
  • Loading branch information
walokra committed Nov 15, 2021
1 parent 6b3a151 commit f6e1bcd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ApplicationWindow {

Rectangle {
id: infoBanner;
y: Theme.paddingSmall;
y: 4 * Theme.paddingMedium;
z: 1;
width: parent.width;

Expand All @@ -65,7 +65,7 @@ ApplicationWindow {
width: parent.width - 2 * Theme.paddingSmall
anchors.top: parent.top;
anchors.topMargin: Theme.paddingMedium;
y: Theme.paddingSmall;
y: 4 * Theme.paddingMedium;
horizontalAlignment: Text.AlignHCenter;
wrapMode: Text.WrapAnywhere;

Expand Down
24 changes: 24 additions & 0 deletions qml/pages/GalleryContentPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,30 @@ Page {
}
} // galleryContentColumn

Column {
id: galleryLinkColumn;
anchors {
left: parent.left;
right: parent.right;
leftMargin: constant.paddingMedium;
topMargin: constant.paddingMedium;
}
height: childrenRect.height;

Row {
id: linkRow;
spacing: Theme.paddingMedium;

Label {
id: linkText;
font.pixelSize: constant.fontSizeIgnore;
text: "Gallery page: " + galleryContentModel.gallery_page_link;
wrapMode: Text.Wrap;
color: constant.colorHighlight;
}
}
} // galleryLinkColumn

Item {
id: pointsColumn;
anchors {
Expand Down

0 comments on commit f6e1bcd

Please sign in to comment.