add a link button in between the width and height slider

heal-brush
Abdullah Alfaraj 2023-02-19 08:36:33 +03:00
parent 8511591469
commit fb94d9d1d7
1 changed files with 22 additions and 10 deletions

View File

@ -657,16 +657,16 @@
<!-- <button class="btnSquare" id="btnLoadViewer">Load</button> --> <!-- <button class="btnSquare" id="btnLoadViewer">Load</button> -->
</div> </div>
<div style="display: flex"> <div style="display: flex">
<sp-slider <sp-slider
show-value="true" show-value="true"
id="slThumbnailSize" id="slThumbnailSize"
min="1" min="1"
max="10" max="10"
value="5" value="5"
style="width: 100%" style="width: 100%"
> >
<sp-label slot="label">Thumbnail Size:</sp-label> <sp-label slot="label">Thumbnail Size:</sp-label>
</sp-slider> </sp-slider>
<sp-checkbox <sp-checkbox
class="checkbox" class="checkbox"
id="chSquareThumbnail" id="chSquareThumbnail"
@ -1483,7 +1483,13 @@
</sp-menu> </sp-menu>
</sp-picker> </sp-picker>
</div> </div>
<div style="display: flex"> <div
style="
display: flex;
justify-content: center;
align-items: center;
"
>
<sp-slider <sp-slider
show-value="false" show-value="false"
id="slWidth" id="slWidth"
@ -1500,6 +1506,12 @@
>512</sp-label >512</sp-label
> >
</sp-slider> </sp-slider>
<button
class="btnSquare linkSlider whiteChain"
id="linkWidthHeight"
title="maintain the ratio between width and height slider"
data-b_link="true"
></button>
<sp-slider <sp-slider
show-value="false" show-value="false"
id="slHeight" id="slHeight"