work on device dialog

This commit is contained in:
Stewart Allen 2024-06-01 01:27:43 -04:00
commit 818ce36168
3 changed files with 18 additions and 14 deletions

View file

@ -427,6 +427,7 @@ gapp.register("kiri.ui", [], (root, exports) => {
cols = Math.max(cols, row.length); cols = Math.max(cols, row.length);
}); });
txt.setAttribute("cols", Math.max(30, cols + 1)); txt.setAttribute("cols", Math.max(30, cols + 1));
txt.setAttribute("rows", 6);
let showing = btn === lastBtn; let showing = btn === lastBtn;
hidePop(); hidePop();

View file

@ -1257,8 +1257,10 @@ th, tr, td, label {
aspect-ratio: 1 / 1 !important; aspect-ratio: 1 / 1 !important;
} }
#mod-setup { #mod-setup {
height: 550px; min-height: 550px;
width: 725px; max-height: 60%;
min-width: 725px;
max-width: 70%;
padding-bottom: 5px; padding-bottom: 5px;
} }
#mod-setup .header { #mod-setup .header {
@ -1669,9 +1671,9 @@ th, tr, td, label {
#devices { #devices {
width: 225px; width: 225px;
} }
#device1, #device2, #palette3 { /* #device1, #device2, #palette3 {
width: 225px; width: 225px;
} } */
#palette3 { #palette3 {
display: none; display: none;
} }
@ -2058,8 +2060,9 @@ th, tr, td, label {
} }
.var-row .dim { .var-row .dim {
text-align: right; text-align: right;
padding-right: 3px;
font-size: smaller; font-size: smaller;
align-self: center;
justify-self: center;
} }
.var-row input { .var-row input {
margin-right: 0; margin-right: 0;

View file

@ -376,12 +376,13 @@
<input id="dev-filter"> <input id="dev-filter">
</div> </div>
</div> </div>
<div class="f-col mh0 mh35 j-center a-stretch"> <div class="f-col mh0 j-center a-stretch">
<div id="device-list" class="devlist f-col overy"></div> <div id="device-list" class="devlist f-col overy"></div>
</div> </div>
<label class="header sub" lk="dm_mydd">my devices</label> <label class="header sub" lk="dm_mydd">my devices</label>
<div class="f-col grow"> <div class="f-col">
<div id="device-my" class="devlist f-col grow overy"></div> <div id="device-my" class="devlist f-col grow overy"></div>
</div>
<div class="f-row footer"> <div class="f-row footer">
<div class="grow"></div> <div class="grow"></div>
<button id="device-add" lk="copy">copy</button> <button id="device-add" lk="copy">copy</button>
@ -390,7 +391,6 @@
<div class="grow"></div> <div class="grow"></div>
</div> </div>
</div> </div>
</div>
<div class="f-col grow a-stretch"> <div class="f-col grow a-stretch">
<label class="header" lk="dm_seld">selected device</label> <label class="header" lk="dm_seld">selected device</label>
<div class="f-row"> <div class="f-row">