- Fix selector popup clipping

- Fix rare issue with backgound of boulder result rect
This commit is contained in:
Dorian Zedler 2021-08-06 21:39:29 +02:00
parent 1ce24be35b
commit 9af65bd746
Signed by: dorian
GPG key ID: 989DE36109AFA354
8 changed files with 20 additions and 18 deletions

View file

@ -214,7 +214,7 @@ ColoredItemDelegate {
context.arc(radius + offsetX, radius + offsetY, radius, Math.PI, 1.5 * Math.PI);
// fill
if(resultData[0] !== -1) {
if(resultData[0] !== -1 || resultData[2] !== -1) {
// if there is a result available -> draw background
context.fillStyle = "#b7b7b7";
}

View file

@ -171,7 +171,7 @@ Page {
id: aboutBluerockDisclaimerDialog
Material.theme: root.Material.theme
title: "blueROCK v" + APP_VERSION + "<br>By <a href=\"https://itsblue.de\">Itsblue Development</a>"
//% "This app was built using the <a href='https://qt.io'>Qt Framework</a> licensed under the <a href='https://www.gnu.org/licenses/lgpl-3.0.en.html'>GNU lgplV3 license</a>.<br><br>This app is open source and licensed under the <a href='https://www.gnu.org/licenses/agpl-3.0.en.html'>GNU agplV3 license</a>, the source code can be found <a href='https://itsblue.dev/dorian/blueROCK/'>here</a>.<br><br>Resultservice and rankings provided by <a href='http://www.digitalROCK.de'>digital ROCK</a>."
//% "This app was built using the <a href='https://qt.io'>Qt Framework</a> licensed under the <a href='https://www.gnu.org/licenses/lgpl-3.0.en.html'>GNU lgplV3 license</a>.<br><br>This app is open source and licensed under the <a href='https://www.gnu.org/licenses/agpl-3.0.en.html'>GNU agplV3 license</a>, the source code can be found <a href='https://itsblue.dev/blueROCK/app'>here</a>.<br><br>Resultservice and rankings provided by <a href='http://www.digitalROCK.de'>digital ROCK</a>."
content: qsTrId("#aboutBluerockDisclaimer")
}
}

View file

@ -282,6 +282,7 @@ Page {
property int delegateHeight: 50
spacing: 10
clip: true
implicitHeight: model === 0 ? 0:(delegateHeight + spacing) * model

View file

@ -435,7 +435,6 @@ DataListView {
property int delegateHeight: 50
spacing: 10
clip: true
implicitHeight: model === 0 ? 0:(delegateHeight + spacing) * model

Binary file not shown.

View file

@ -129,8 +129,9 @@
</message>
<message id="#aboutBluerockDisclaimer">
<location filename="../qml/Pages/StartPage.qml" line="175"/>
<source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source>
<translation>Diese App wurde unter Verwendung des &lt;a href=&apos;https://qt.io&apos;&gt;Qt Frameworks&lt;/a&gt; unter der &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 Lizenz&lt;/a&gt; erstellt.&lt;br&gt;&lt;br&gt;Diese App ist Open-source und lizensiert unter der &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 Lizenz&lt;/a&gt;. Der Sourcecode findet sich &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;hier&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Die Ergebnisse und Ranglisten werden von &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt; zur Verfügung gestellt.</translation>
<source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/blueROCK/app&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source>
<oldsource>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</oldsource>
<translation>Diese App wurde unter Verwendung des &lt;a href=&apos;https://qt.io&apos;&gt;Qt Frameworks&lt;/a&gt; unter der &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 Lizenz&lt;/a&gt; erstellt.&lt;br&gt;&lt;br&gt;Diese App ist Open-source und lizensiert unter der &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 Lizenz&lt;/a&gt;. Der Sourcecode findet sich &lt;a href=&apos;https://itsblue.dev/blueROCK/app&apos;&gt;hier&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Die Ergebnisse und Ranglisten werden von &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt; zur Verfügung gestellt.</translation>
</message>
<message id="#calendar">
<location filename="../qml/Widgets/CalendarWidget.qml" line="32"/>
@ -174,9 +175,9 @@
</message>
<message id="#selectCategory">
<location filename="../qml/Widgets/CalendarWidget.qml" line="278"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="127"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="169"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="98"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="124"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="159"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="94"/>
<source>Select category</source>
<translation>Kategorie auswählen</translation>
</message>
@ -216,17 +217,17 @@
<translation>(Registrierung)</translation>
</message>
<message id="#showResults">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="129"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="126"/>
<source>Show results</source>
<translation>Ergebnisse anzeigen</translation>
</message>
<message id="#resultsHeadline">
<location filename="../qml/Widgets/ResultWidget.qml" line="136"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="130"/>
<source>(Results)</source>
<translation>(Ergebnisse)</translation>
</message>
<message id="#startlistHeadline">
<location filename="../qml/Widgets/StartlistWidget.qml" line="72"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="65"/>
<source>(Startlist)</source>
<translation>(Startliste)</translation>
</message>

Binary file not shown.

View file

@ -125,7 +125,8 @@
</message>
<message id="#aboutBluerockDisclaimer">
<location filename="../qml/Pages/StartPage.qml" line="175"/>
<source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source>
<source>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/blueROCK/app&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</source>
<oldsource>This app was built using the &lt;a href=&apos;https://qt.io&apos;&gt;Qt Framework&lt;/a&gt; licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/lgpl-3.0.en.html&apos;&gt;GNU lgplV3 license&lt;/a&gt;.&lt;br&gt;&lt;br&gt;This app is open source and licensed under the &lt;a href=&apos;https://www.gnu.org/licenses/agpl-3.0.en.html&apos;&gt;GNU agplV3 license&lt;/a&gt;, the source code can be found &lt;a href=&apos;https://itsblue.dev/dorian/blueROCK/&apos;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Resultservice and rankings provided by &lt;a href=&apos;http://www.digitalROCK.de&apos;&gt;digital ROCK&lt;/a&gt;.</oldsource>
<translation type="unfinished"></translation>
</message>
<message id="#calendar">
@ -170,9 +171,9 @@
</message>
<message id="#selectCategory">
<location filename="../qml/Widgets/CalendarWidget.qml" line="278"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="127"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="169"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="98"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="124"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="159"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="94"/>
<source>Select category</source>
<translation type="unfinished"></translation>
</message>
@ -212,17 +213,17 @@
<translation type="unfinished"></translation>
</message>
<message id="#showResults">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="129"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="126"/>
<source>Show results</source>
<translation type="unfinished"></translation>
</message>
<message id="#resultsHeadline">
<location filename="../qml/Widgets/ResultWidget.qml" line="136"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="130"/>
<source>(Results)</source>
<translation type="unfinished"></translation>
</message>
<message id="#startlistHeadline">
<location filename="../qml/Widgets/StartlistWidget.qml" line="72"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="65"/>
<source>(Startlist)</source>
<translation type="unfinished"></translation>
</message>