LaF test - update snapshots

This commit is contained in:
Vladimir Krivosheev
2018-04-05 18:38:18 +02:00
parent 6586369b2c
commit d137db717f
5 changed files with 262 additions and 5 deletions
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" fill-opacity="1" color-rendering="auto" color-interpolation="auto" text-rendering="auto" stroke="black" stroke-linecap="square" stroke-miterlimit="10" shape-rendering="auto" stroke-opacity="1" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" viewBox="0 0 480 357" font-family="'Dialog'" font-style="normal" stroke-linejoin="miter" font-size="12px" stroke-dashoffset="0" image-rendering="auto">
<!--Generated by the Batik Graphics2D SVG Generator-->
<defs id="genericDefs"/>
<g>
<defs id="defs1">
<linearGradient x1="0" gradientUnits="userSpaceOnUse" x2="0" y1="0" y2="28" id="linearGradient1" spreadMethod="pad">
<stop stop-opacity="1" stop-color="rgb(76,80,82)" offset="0%"/>
<stop stop-opacity="1" stop-color="rgb(76,80,82)" offset="100%"/>
</linearGradient>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath1">
<path d="M0 0 L480 0 L480 357 L0 357 L0 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath2">
<path d="M0 0 L0 30 L464 30 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath3">
<path d="M-1 -1 L-1 29 L463 29 L463 -1 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath4">
<path d="M0 0 L0 23 L464 23 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath5">
<path d="M0 0 L0 22 L464 22 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath6">
<path d="M0 0 L0 22 L452 22 L452 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath7">
<path d="M9 5 L9 25 L455 25 L455 5 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath8">
<path d="M0 0 L0 32 L464 32 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath9">
<path d="M-1 -1 L-1 31 L463 31 L463 -1 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath10">
<path d="M9 5 L9 27 L455 27 L455 5 Z"/>
</clipPath>
</defs>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" stroke="rgb(60,63,65)">
<rect x="0" width="480" height="357" y="0" clip-path="url(#clipPath1)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,317)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,277)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(69,73,74)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,278)" stroke="rgb(69,73,74)">
<rect x="2" y="2" clip-path="url(#clipPath3)" width="458" rx="2.5" ry="2.5" height="24" stroke="none"/>
</g>
<g fill="rgb(100,100,100)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,278)" stroke="rgb(100,100,100)">
<path d="M2 4.5 L2 23.5 C2 24.8807 3.1193 26 4.5 26 L457.5 26 C458.8807 26 460 24.8807 460 23.5 L460 4.5 C460 3.1193 458.8807 2 457.5 2 L4.5 2 C3.1193 2 2 3.1193 2 4.5 ZM3 5.5 L3 22.5 C3 23.8807 4.1193 25 5.5 25 L456.5 25 C457.8807 25 459 23.8807 459 22.5 L459 5.5 C459 4.1193 457.8807 3 456.5 3 L5.5 3 C4.1193 3 3 4.1193 3 5.5 Z" fill-rule="evenodd" clip-path="url(#clipPath3)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,244)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="23" y="0" clip-path="url(#clipPath4)" stroke="none"/>
<rect x="0" width="464" height="23" y="0" clip-path="url(#clipPath4)" stroke="none"/>
<image x="0" y="2" clip-path="url(#clipPath4)" width="19" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAvUlEQVR42mNgGFLg&#13;&#10;////jFlZWZGZmZk7gPS77Ozs3yAayo8EyRNlUE5OjiJQ88XUtLTPASGh/919fP+7&#13;&#10;eHmDaRAfJA6SB6kjaBDQ9rcRUdE/QQY4e3phYJA4SB6kDqeBIKeDbAQpxGYIOgap&#13;&#10;A6nH6mVQWIC8gMtF2FwIUg/Sh2EYKHBBYUKMQTAMUg/Sh81l70CBTIphIPUgfRiG&#13;&#10;gaKfWC8iexWkj7Yuo3aYUS82qZrOqJoDqJ43qV5qDBoAAOQYgilXKVm8AAAAAElF&#13;&#10;TkSuQmCC" height="19" preserveAspectRatio="none"/>
<text fill="rgb(187,187,187)" x="23" xml:space="preserve" y="16" clip-path="url(#clipPath4)" stroke="none">label</text>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,212)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="22" y="0" clip-path="url(#clipPath5)" stroke="none"/>
<rect x="0" width="464" height="22" y="0" clip-path="url(#clipPath5)" stroke="none"/>
<image x="0" y="2" clip-path="url(#clipPath5)" width="18" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAQ0lEQVR42mNgGLQg&#13;&#10;OzvbC4hfAfF/IjFIrRc2g175B4f8d/b0IgqD1IL0YDOIaENgGKRn1KBRgwa9QVTL&#13;&#10;ItTJtIMGAAAgf3nkRYKYLgAAAABJRU5ErkJggg==" height="18" preserveAspectRatio="none"/>
<text fill="rgb(187,187,187)" x="23" xml:space="preserve" y="16" clip-path="url(#clipPath5)" stroke="none">enabled</text>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,172)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="url(#linearGradient1)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,173)" stroke="url(#linearGradient1)">
<rect x="2" y="2" clip-path="url(#clipPath3)" width="458" rx="3" ry="3" height="24" stroke="none"/>
</g>
<g fill="rgb(187,187,187)" font-family="'Segoe UI'" transform="translate(8,172)" stroke="rgb(187,187,187)">
<text x="220" xml:space="preserve" y="20" clip-path="url(#clipPath2)" stroke="none">label</text>
</g>
<g fill="rgb(54,54,54)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,173)" stroke="rgb(54,54,54)">
<rect x="2" y="26" clip-path="url(#clipPath3)" width="458" height="2" opacity="0.5" stroke="none"/>
<path fill="rgb(94,96,96)" d="M2 5 L2 23 C2 24.6569 3.3431 26 5 26 L457 26 C458.6569 26 460 24.6569 460 23 L460 5 C460 3.3431 458.6569 2 457 2 L5 2 C3.3431 2 2 3.3431 2 5 ZM3 5.5 L3 22.5 C3 23.8807 4.1193 25 5.5 25 L456.5 25 C457.8807 25 459 23.8807 459 22.5 L459 5.5 C459 4.1193 457.8807 3 456.5 3 L5.5 3 C4.1193 3 3 4.1193 3 5.5 Z" clip-path="url(#clipPath3)" fill-rule="evenodd" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,132)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(69,73,74)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,133)" stroke="rgb(69,73,74)">
<rect x="2" y="2" clip-path="url(#clipPath3)" width="458" rx="2.5" ry="2.5" height="24" stroke="none"/>
</g>
<g fill="rgb(100,100,100)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,133)" stroke="rgb(100,100,100)">
<path d="M2 4.5 L2 23.5 C2 24.8807 3.1193 26 4.5 26 L457.5 26 C458.8807 26 460 24.8807 460 23.5 L460 4.5 C460 3.1193 458.8807 2 457.5 2 L4.5 2 C3.1193 2 2 3.1193 2 4.5 ZM3 5 L3 23 C3 24.1046 3.8954 25 5 25 L457 25 C458.1046 25 459 24.1046 459 23 L459 5 C459 3.8954 458.1046 3 457 3 L5 3 C3.8954 3 3 3.8954 3 5 Z" fill-rule="evenodd" clip-path="url(#clipPath3)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,92)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,93)" stroke="rgb(60,63,65)">
<rect x="2" y="2" clip-path="url(#clipPath3)" width="458" rx="2.5" ry="2.5" height="24" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(16,96)" stroke="rgb(60,63,65)">
<rect x="0" width="452" height="22" y="0" clip-path="url(#clipPath6)" stroke="none"/>
<text fill="rgb(187,187,187)" x="1" xml:space="preserve" y="16" clip-path="url(#clipPath6)" stroke="none">one</text>
</g>
<g fill="rgb(100,100,100)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,93)" stroke="rgb(100,100,100)">
<path d="M2 4.5 L2 23.5 C2 24.8807 3.1193 26 4.5 26 L457.5 26 C458.8807 26 460 24.8807 460 23.5 L460 4.5 C460 3.1193 458.8807 2 457.5 2 L4.5 2 C3.1193 2 2 3.1193 2 4.5 ZM3 5 L3 23 C3 24.1046 3.8954 25 5 25 L457 25 C458.1046 25 459 24.1046 459 23 L459 5 C459 3.8954 458.1046 3 457 3 L5 3 C3.8954 3 3 3.8954 3 5 Z" fill-rule="evenodd" clip-path="url(#clipPath3)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="monospace" transform="translate(8,52)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="30" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(69,73,74)" text-rendering="optimizeLegibility" font-family="monospace" transform="translate(9,53)" stroke="rgb(69,73,74)">
<rect x="2" width="458" height="24" y="2" clip-path="url(#clipPath3)" stroke="none"/>
</g>
<g fill="rgb(187,187,187)" font-family="monospace" transform="translate(8,52)" stroke="rgb(187,187,187)">
<text x="9" xml:space="preserve" y="19" clip-path="url(#clipPath7)" stroke="none">•</text>
<text x="16" xml:space="preserve" y="19" clip-path="url(#clipPath7)" stroke="none">•</text>
<text x="23" xml:space="preserve" y="19" clip-path="url(#clipPath7)" stroke="none">•</text>
<text x="30" xml:space="preserve" y="19" clip-path="url(#clipPath7)" stroke="none">•</text>
<text x="37" xml:space="preserve" y="19" clip-path="url(#clipPath7)" stroke="none">•</text>
<text x="44" xml:space="preserve" y="19" clip-path="url(#clipPath7)" stroke="none">•</text>
</g>
<g fill="rgb(100,100,100)" text-rendering="optimizeLegibility" font-family="monospace" transform="translate(9,53)" stroke="rgb(100,100,100)">
<path d="M2 2 L460 2 L460 26 L2 26 L2 2 ZM3 3 L459 3 L459 25 L3 25 L3 3 Z" fill-rule="evenodd" clip-path="url(#clipPath3)" stroke="none"/>
</g>
<g fill="rgb(60,63,65)" font-family="'Segoe UI'" transform="translate(8,10)" stroke="rgb(60,63,65)">
<rect x="0" width="464" height="32" y="0" clip-path="url(#clipPath8)" stroke="none"/>
</g>
<g fill="rgb(69,73,74)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,11)" stroke="rgb(69,73,74)">
<rect x="2" y="2" clip-path="url(#clipPath9)" width="458" rx="0" ry="0" height="26" stroke="none"/>
</g>
<g fill="rgb(187,187,187)" font-family="'Segoe UI'" transform="translate(8,10)" stroke="rgb(187,187,187)">
<text x="9" xml:space="preserve" y="21" clip-path="url(#clipPath10)" stroke="none">text</text>
</g>
<g fill="rgb(100,100,100)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(9,11)" stroke="rgb(100,100,100)">
<path d="M2 2 L460 2 L460 28 L2 28 L2 2 ZM3 3 L459 3 L459 27 L3 27 L3 3 Z" fill-rule="evenodd" clip-path="url(#clipPath9)" stroke="none"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" fill-opacity="1" color-rendering="auto" color-interpolation="auto" text-rendering="auto" stroke="black" stroke-linecap="square" stroke-miterlimit="10" shape-rendering="auto" stroke-opacity="1" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" viewBox="0 0 480 320" font-family="'Dialog'" font-style="normal" stroke-linejoin="miter" font-size="12px" stroke-dashoffset="0" image-rendering="auto">
<!--Generated by the Batik Graphics2D SVG Generator-->
<defs id="genericDefs"/>
<g>
<defs id="defs1">
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath1">
<path d="M0 0 L480 0 L480 320 L0 320 L0 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath2">
<path d="M0 0 L0 24 L464 24 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath3">
<path d="M0 0 L0 20 L464 20 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath4">
<path d="M0 0 L0 18 L457 18 L457 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath5">
<path d="M0 0 L0 25 L464 25 L464 0 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath6">
<path d="M5 4 L5 21 L459 21 L459 4 Z"/>
</clipPath>
<clipPath clipPathUnits="userSpaceOnUse" id="clipPath7">
<path d="M5 4 L5 20 L459 20 L459 4 Z"/>
</clipPath>
</defs>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" stroke="rgb(242,242,242)">
<rect x="0" width="480" height="320" y="0" clip-path="url(#clipPath1)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,275)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="white" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,241)" stroke="white">
<rect x="2" width="441" height="20" y="2" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(189,189,189)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,241)" stroke="rgb(189,189,189)">
<path d="M1 1 L444 1 L444 23 L1 23 L1 1 ZM2 2 L443 2 L443 22 L2 22 L2 2 Z" fill-rule="evenodd" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,211)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="20" y="0" clip-path="url(#clipPath3)" stroke="none"/>
<rect x="0" width="464" height="20" y="0" clip-path="url(#clipPath3)" stroke="none"/>
<image x="0" y="4" clip-path="url(#clipPath3)" width="13" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAxUlEQVR42p2SQQqD&#13;&#10;MBBFs2hPlIVKu/A0ehpdtSv39QrxPhWK4gEa0DFPbJBi29APYcjM/yQzf5TaIIqi&#13;&#10;cxzHtTt3d55rrMmrd6RpenDFa57n0jSNdF0n1tolcidPXWt99CKXqIqikGmaZA/k&#13;&#10;y7JEWL0EpyzLJATw4NPHzRgTJIJHj7z0GIYhSNT3PaIWkYSC4TDVv1+qGWsI4C09&#13;&#10;YRw+jOP4VUAdnjc6SZILPvzyCZ43F6e3G8HfaZr4cSN2dq9dd6/d270Zi+PHHmqH&#13;&#10;WFYAAAAASUVORK5CYII=" height="13" preserveAspectRatio="none"/>
<text fill="black" x="17" xml:space="preserve" y="15" clip-path="url(#clipPath3)" stroke="none">label</text>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,181)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="20" y="0" clip-path="url(#clipPath3)" stroke="none"/>
<rect x="0" width="464" height="20" y="0" clip-path="url(#clipPath3)" stroke="none"/>
<image x="0" y="4" clip-path="url(#clipPath3)" width="13" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAHElEQVR42mMwNjb+&#13;&#10;TypmABGkgFFNo5pwaCIVAwCuQC67vewe/QAAAABJRU5ErkJggg==" height="13" preserveAspectRatio="none"/>
<text fill="black" x="17" xml:space="preserve" y="15" clip-path="url(#clipPath3)" stroke="none">enabled</text>
</g>
<g fill="rgb(227,227,227)" font-family="'Segoe UI'" transform="translate(8,147)" stroke="rgb(227,227,227)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,147)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
<rect x="2" y="2" clip-path="url(#clipPath2)" fill="rgb(227,227,227)" width="460" text-rendering="optimizeLegibility" height="20" stroke="none"/>
<text x="220" y="16" clip-path="url(#clipPath2)" fill="black" text-rendering="optimizeLegibility" stroke="none" xml:space="preserve">label</text>
</g>
<g fill="rgb(173,173,173)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,147)" stroke="rgb(173,173,173)">
<path d="M1 1 L463 1 L463 23 L1 23 L1 1 ZM2 2 L462 2 L462 22 L2 22 L2 2 Z" fill-rule="evenodd" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,113)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,113)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
<rect x="2" y="2" clip-path="url(#clipPath2)" fill="white" width="460" height="20" stroke="none"/>
</g>
<g fill="rgb(189,189,189)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,113)" stroke="rgb(189,189,189)">
<path d="M1 1 L463 1 L463 23 L1 23 L1 1 ZM2 2 L462 2 L462 22 L2 22 L2 2 Z" fill-rule="evenodd" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,79)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="'Segoe UI'" transform="translate(8,79)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
<rect x="2" y="2" clip-path="url(#clipPath2)" fill="rgb(227,227,227)" width="460" height="20" stroke="none"/>
</g>
<g fill="rgb(227,227,227)" font-family="'Segoe UI'" transform="translate(15,82)" stroke="rgb(227,227,227)">
<rect x="0" width="457" height="18" y="0" clip-path="url(#clipPath4)" stroke="none"/>
<text fill="black" x="0" xml:space="preserve" y="14" clip-path="url(#clipPath4)" stroke="none">one</text>
</g>
<g fill="rgb(173,173,173)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,79)" stroke="rgb(173,173,173)">
<path d="M1 1 L463 1 L463 23 L1 23 L1 1 ZM2 2 L462 2 L462 22 L2 22 L2 2 Z" fill-rule="evenodd" clip-path="url(#clipPath2)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" font-family="monospace" transform="translate(8,44)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="25" y="0" clip-path="url(#clipPath5)" stroke="none"/>
<rect x="2" y="2" clip-path="url(#clipPath5)" fill="white" width="460" height="21" stroke="none"/>
</g>
<g font-family="monospace" transform="translate(8,44)">
<text x="5" xml:space="preserve" y="17" clip-path="url(#clipPath6)" stroke="none">•</text>
<text x="12" xml:space="preserve" y="17" clip-path="url(#clipPath6)" stroke="none">•</text>
<text x="19" xml:space="preserve" y="17" clip-path="url(#clipPath6)" stroke="none">•</text>
<text x="26" xml:space="preserve" y="17" clip-path="url(#clipPath6)" stroke="none">•</text>
<text x="33" xml:space="preserve" y="17" clip-path="url(#clipPath6)" stroke="none">•</text>
<text x="40" xml:space="preserve" y="17" clip-path="url(#clipPath6)" stroke="none">•</text>
</g>
<g fill="rgb(189,189,189)" text-rendering="optimizeLegibility" font-family="monospace" transform="translate(8,44)" stroke="rgb(189,189,189)">
<path d="M1 1 L463 1 L463 24 L1 24 L1 1 ZM2 2 L462 2 L462 23 L2 23 L2 2 Z" fill-rule="evenodd" clip-path="url(#clipPath5)" stroke="none"/>
</g>
<g fill="rgb(242,242,242)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,10)" stroke="rgb(242,242,242)">
<rect x="0" width="464" height="24" y="0" clip-path="url(#clipPath2)" stroke="none"/>
<rect x="2" y="2" clip-path="url(#clipPath2)" fill="white" width="460" height="20" stroke="none"/>
</g>
<g font-family="'Segoe UI'" transform="translate(8,10)">
<text x="5" xml:space="preserve" y="17" clip-path="url(#clipPath7)" stroke="none">text</text>
</g>
<g fill="rgb(189,189,189)" text-rendering="optimizeLegibility" font-family="'Segoe UI'" transform="translate(8,10)" stroke="rgb(189,189,189)">
<path d="M1 1 L463 1 L463 23 L1 23 L1 1 ZM2 2 L462 2 L462 22 L2 22 L2 2 Z" fill-rule="evenodd" clip-path="url(#clipPath2)" stroke="none"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.1 KiB

@@ -0,0 +1,9 @@
bounds:
'JTextField #0': [8, 10, 464, 24]
'JPasswordField #1': [8, 44, 464, 25]
'JComboBox #2': [8, 79, 464, 24]
'JComboBox #3': [8, 113, 464, 24]
label: [8, 211, 464, 20]
enabled: [8, 181, 464, 20]
'JBIntSpinner #7': [8, 241, 464, 24]
'TextFieldWithHistoryWithBrowseButton #8': [8, 275, 464, 24]
@@ -34,8 +34,8 @@ object MigLayoutTestApp {
// val panel = visualPaddingsPanelOnlyButton()
// val panel = visualPaddingsPanelOnlyComboBox()
// val panel = alignFieldsInTheNestedGrid()
val panel = cellPanel()
// val panel = visualPaddingsPanel()
// val panel = cellPanel()
val panel = visualPaddingsPanel()
val editableCombobox = JComboBox<String>(arrayOf("one", "two"))
editableCombobox.isEditable = true
@@ -55,7 +55,7 @@ object MigLayoutTestApp {
panel.preferredSize = Dimension(50, 50)
if (panel.layout is MigLayout) {
Paths.get(System.getProperty("user.home"), "layout-dump.yml").write(serializeLayout(panel))
Paths.get(System.getProperty("user.home"), "layout-dump.yml").write(serializeLayout(panel, isIncludeCellBounds = false))
}
val screenDevices = GraphicsEnvironment.getLocalGraphicsEnvironment().screenDevices
@@ -89,7 +89,7 @@ private fun dumpCellBounds(layout: MigLayout): Any {
}
@Suppress("UNCHECKED_CAST")
internal fun serializeLayout(component: Container): String {
internal fun serializeLayout(component: Container, isIncludeCellBounds: Boolean = true): String {
val layout = component.layout as MigLayout
val componentConstrains = LinkedHashMap<String, Any>()
@@ -106,7 +106,7 @@ internal fun serializeLayout(component: Container): String {
"rowConstraints" to layout.rowConstraints,
"columnConstraints" to layout.columnConstraints,
"componentConstrains" to componentConstrains,
"cellBounds" to dumpCellBounds(layout),
"cellBounds" to if (isIncludeCellBounds) dumpCellBounds(layout) else null,
"componentBounds" to dumpComponentBounds(component)
))
.replace("constaints", "constraints")