Set window height
This commit is contained in:
@@ -13,7 +13,7 @@ def on_closed():
|
||||
|
||||
window = webview.create_window('System Installer', LOCATION,
|
||||
transparent=True, easy_drag=False, frameless=True,
|
||||
width=1050, focus=True, zoomable=True,
|
||||
width=1050, height=650, focus=True, zoomable=True,
|
||||
confirm_close=True, resizable=True, shadow=True,
|
||||
text_select=False, draggable=False
|
||||
)
|
||||
|
||||
@@ -26,11 +26,7 @@
|
||||
</label>
|
||||
-->
|
||||
</div>
|
||||
|
||||
<div class="columns" width="100%">
|
||||
<div class="column"><p> <br>Current layout: </p></div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<!--
|
||||
<div style="">
|
||||
<div style="background-color: gray; padding: 4px 6px 7px 6px; border-radius: 10px;">
|
||||
@@ -106,7 +102,7 @@ fssize: {{ child['fssize'] }}
|
||||
|
||||
{% set colors = ['teal', '#E69F00', '#56B4E9', '#009E73', '#0072B2', '#D55E00', '#CC79A7'] %}
|
||||
|
||||
<div id="percentagebar" style="width: 100%; height: 20px; background-color: white; display: inline-block; margin: 5; padding: 5; overflow: hidden; display: flex;">
|
||||
<div id="percentagebar" style="width: 100%; height: 50px; background-color: white; display: inline-block; margin: 5; padding: 5; overflow: hidden; display: flex;">
|
||||
{% for child in disk['children'] %}
|
||||
<div style="min-width: 100px; width: {{ (((child['size'] / disk['size'])*100)|round(0)|int) }}%; height: 100%; background-color: {{ colors[loop.index0 % colors|length] }}; display: inline-block; margin: 1; padding: 1; corners: rounded;">
|
||||
{{ child['name'] }}
|
||||
|
||||
Reference in New Issue
Block a user