scales down image

This commit is contained in:
2024-05-01 00:25:32 +02:00
parent 8cbd90ae2a
commit e2e6e79831
3 changed files with 23 additions and 5 deletions

26
.idea/workspace.xml generated
View File

@@ -4,8 +4,8 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="3745efb7-4727-49d7-a776-8798725fc688" name="Changes" comment="Adds icon"> <list default="true" id="3745efb7-4727-49d7-a776-8798725fc688" name="Changes" comment="Merge remote-tracking branch 'origin/master'">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/rankiv.kv" beforeDir="false" afterPath="$PROJECT_DIR$/rankiv.kv" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -119,7 +119,23 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1714510610620</updated> <updated>1714510610620</updated>
</task> </task>
<option name="localTasksCounter" value="6" /> <task id="LOCAL-00006" summary="as font seems to be too small on device, I try out sp(24 instead of app.font_size)">
<option name="closed" value="true" />
<created>1714514888103</created>
<option name="number" value="00006" />
<option name="presentableId" value="LOCAL-00006" />
<option name="project" value="LOCAL" />
<updated>1714514888103</updated>
</task>
<task id="LOCAL-00007" summary="Merge remote-tracking branch 'origin/master'">
<option name="closed" value="true" />
<created>1714514925569</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1714514925569</updated>
</task>
<option name="localTasksCounter" value="8" />
<servers /> <servers />
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
@@ -128,6 +144,8 @@
<MESSAGE value="Now with image!" /> <MESSAGE value="Now with image!" />
<MESSAGE value="Adds Readme" /> <MESSAGE value="Adds Readme" />
<MESSAGE value="Adds icon" /> <MESSAGE value="Adds icon" />
<option name="LAST_COMMIT_MESSAGE" value="Adds icon" /> <MESSAGE value="as font seems to be too small on device, I try out sp(24 instead of app.font_size)" />
<MESSAGE value="Merge remote-tracking branch 'origin/master'" />
<option name="LAST_COMMIT_MESSAGE" value="Merge remote-tracking branch 'origin/master'" />
</component> </component>
</project> </project>

View File

@@ -9,7 +9,7 @@
halign: 'center' halign: 'center'
font_size: sp(24) font_size: sp(24)
size_hint: .8, None size_hint: .8, None
height: 42 height: sp(42)
hint_text: 'Gib eine Zahl ein!' hint_text: 'Gib eine Zahl ein!'
input_filter: 'int' input_filter: 'int'
pos_hint: {'x': .1} pos_hint: {'x': .1}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 KiB

After

Width:  |  Height:  |  Size: 68 KiB