Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Add some icons and tooltips for the baseline-related properties.
Wolthera van Hövell tot Westerflier7168ffb74c56
diff --git a/plugins/dockers/textproperties/icons/baseline-alphabetic.svg b/plugins/dockers/textproperties/icons/baseline-alphabetic.svgnew file mode 100644index 0000000000..1132bd3f91--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-alphabetic.svg@@ -0,0 +1,57 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-alphabetic.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="9.7974669"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date><dc:description>Adapted from Breeze icon "format-text-capitalize"</dc:description></cc:Work></rdf:RDF></metadata><path+ style="color:#232629;fill:#d2d2d2;fill-opacity:0.5;stroke:none;stroke-width:0.264583"+ d="M 2.3812499,1.0583333 V 3.4395832 H 2.6458332 V 3.2354614 a 0.79374999,0.79374999 0 0 0 0.5302002,0.2041218 0.79374999,0.79374999 0 0 0 0.79375,-0.79375 0.79374999,0.79374999 0 0 0 -0.79375,-0.79375 0.79374999,0.79374999 0 0 0 -0.5302002,0.2046387 V 1.0583333 Z M 1.0309448,1.3223998 0.26665037,3.4390665 H 0.57567542 L 0.83870847,2.8344523 H 1.5735473 l 0.236678,0.6046142 H 2.1187336 L 1.4190347,1.3223998 Z m 0.1937866,0.3281453 0.289388,0.8815998 H 0.9048543 Z m 1.951302,0.4661215 A 0.52916666,0.52916666 0 0 1 3.7052,2.6458332 0.52916666,0.52916666 0 0 1 3.1760334,3.1749999 0.52916666,0.52916666 0 0 1 2.6468667,2.6458332 0.52916666,0.52916666 0 0 1 3.1760334,2.1166666 Z"+ class="ColorScheme-Text"+ id="path7010" /><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.26458332,3.4395832 v 0.263672 l 3.70416648,9.113e-4 v -0.263672 z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-hanging.svg b/plugins/dockers/textproperties/icons/baseline-hanging.svgnew file mode 100644index 0000000000..51897e02c9--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-hanging.svg@@ -0,0 +1,57 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-hanging-b.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="64"+ inkscape:cx="9.203125"+ inkscape:cy="8.25"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date></cc:Work></rdf:RDF></metadata><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.2645831,1.588411 v 0.263672 l 0.52916686,2e-7 v -0.263672 z m 1.3229166,0 v 0.263672 l 1.0583335,2e-7 v -0.263672 z m 1.8520835,2e-7 v 0.263672 L 3.9687501,1.852539 V 1.588867 Z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccccccccccccc" /><path+ id="path3089"+ style="color:#000000;display:inline;fill:#d2d2d2;fill-opacity:0.5;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ inkscape:label="śirorekhā-glyph"+ d="M 1.8784383 0.79323324 C 1.4552206 0.79642448 1.0578166 0.9160067 1.0578166 1.3229167 L 1.0578166 1.5890503 L 0.79375 1.5890503 L 0.79375 1.8520833 L 0.79219971 1.8520833 L 0.79219971 1.8526001 L 1.0578166 1.8526001 L 1.0578166 3.4401001 L 1.3213664 3.4401001 L 1.3213664 1.8526001 L 1.5875 1.8526001 L 1.5875 1.5890503 L 1.3213664 1.5890503 L 1.3213664 1.3229167 C 1.3213664 1.0539942 1.5874988 1.0597857 1.8546672 1.0593669 C 2.5135411 1.0583369 2.6660465 1.2270466 2.7884603 1.3937134 C 2.8401392 1.4640743 2.8696625 1.5327047 2.8866455 1.5890503 L 2.6458333 1.5890503 L 2.6458333 1.8526001 L 2.9093831 1.8526001 L 2.9093831 3.4401001 L 3.175 3.4401001 L 3.175 1.8526001 L 3.4385498 1.8526001 L 3.4385498 1.5890503 L 3.1589803 1.5890503 C 3.1395698 1.4955179 3.0970495 1.3645892 3.0034342 1.2371338 C 2.8325941 1.0045346 2.5270974 0.78834207 1.8784383 0.79323324 z M 1.6019694 2.1166667 C 1.6451208 2.2927791 1.7923689 2.3813453 2.1166667 2.3817668 L 2.1166667 2.118217 C 2.0670573 2.1179263 2.0269503 2.1177238 1.9941935 2.1166667 L 1.6019694 2.1166667 z M 2.3667806 2.1166667 C 2.3751604 2.157308 2.3800173 2.2029054 2.3802165 2.2530924 C 2.3812465 2.5135419 2.3187432 2.6171854 2.2107178 2.7181803 C 2.1040971 2.6731864 1.9825396 2.6453796 1.8510498 2.6473836 C 1.6596293 2.6503036 1.5875001 2.778126 1.5875 2.9109334 C 1.5874998 3.1138133 1.7197851 3.1758234 1.8510498 3.1765503 C 1.9996056 3.1773729 2.1330925 3.1262581 2.245341 3.0473592 C 2.3689033 3.1784752 2.3790199 3.2750619 2.3802165 3.4401001 L 2.6458333 3.4401001 C 2.6458333 3.1750003 2.5409942 3.0123552 2.4386108 2.8587402 C 2.5756678 2.6766835 2.6458333 2.5135414 2.6458333 2.2468913 C 2.6458333 2.2017765 2.6438217 2.1582092 2.6401489 2.1166667 L 2.3667806 2.1166667 z " /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-ideo-embox-bottom.svg b/plugins/dockers/textproperties/icons/baseline-ideo-embox-bottom.svgnew file mode 100644index 0000000000..76ffcd9419--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-ideo-embox-bottom.svg@@ -0,0 +1,63 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-ideo-embox-bottom.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="9.6075935"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date></cc:Work></rdf:RDF></metadata><path+ id="path2193"+ style="color:#000000;opacity:0.5;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 2.1171834,0.79271647 V 3.0432251 C 2.1166666,3.1749998 2.1166666,3.1749998 1.984375,3.1760335 H 1.3223999 V 3.4395833 H 1.984375 C 2.2460396,3.4568691 2.3812499,3.3072915 2.3807332,3.0432251 V 2.4597982 c 0.3007443,0.394216 0.5985052,0.6344925 1.0237102,0.7431071 L 3.4669718,2.9455566 C 3.1044339,2.8581111 2.7935947,2.5893723 2.6282633,2.3368083 2.8965922,2.2373743 3.303835,1.8016339 3.4783407,1.3807943 L 3.2344279,1.2831258 C 3.0970373,1.6498591 2.7910879,1.9352994 2.5032064,2.102714 2.4324116,1.9393966 2.387385,1.7622659 2.3807332,1.5818156 V 0.79271647 Z M 0.79271647,1.5880168 V 1.8515666 H 1.5606283 C 1.5461568,2.1108281 1.5113929,2.3770264 1.4138672,2.5647013 1.2984272,2.7868498 1.1482379,2.9100253 0.9255249,2.9098999 H 0.79271647 V 3.1760335 H 0.9255249 C 1.255873,3.1762196 1.5043842,2.9629134 1.6484782,2.6856242 1.7925721,2.408335 1.8535129,2.0598344 1.8515666,1.7187581 1.8507224,1.6469042 1.7926791,1.5888609 1.7208252,1.5880168 Z"+ inkscape:label="water-glyph"+ sodipodi:nodetypes="ccccccccccccccccccccsccccsccc" /><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 0.26458332,3.7050779 V 3.9687498 L 3.9687499,3.9682942 V 3.7046223 Z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /><path+ id="path3115-7-1"+ style="color:#000000;fill:#d2d2d2;fill-opacity:0.25;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.26458324,0.26526688 v 0.2636718 l 3.70416666,-4.555e-4 v -0.2636719 z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-ideo-embox-horizontal-center.svg b/plugins/dockers/textproperties/icons/baseline-ideo-embox-horizontal-center.svgnew file mode 100644index 0000000000..7f3c749db2--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-ideo-embox-horizontal-center.svg@@ -0,0 +1,68 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-ideo-embox-horizontal-center.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="9.6075935"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date></cc:Work></rdf:RDF></metadata><path+ id="path2193"+ style="color:#000000;opacity:0.5;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 2.1171834,0.79271647 V 3.0432251 C 2.1166666,3.1749998 2.1166666,3.1749998 1.984375,3.1760335 H 1.3223999 V 3.4395833 H 1.984375 C 2.2460396,3.4568691 2.3812499,3.3072915 2.3807332,3.0432251 V 2.4597982 c 0.3007443,0.394216 0.5985052,0.6344925 1.0237102,0.7431071 L 3.4669718,2.9455566 C 3.1044339,2.8581111 2.7935947,2.5893723 2.6282633,2.3368083 2.8965922,2.2373743 3.303835,1.8016339 3.4783407,1.3807943 L 3.2344279,1.2831258 C 3.0970373,1.6498591 2.7910879,1.9352994 2.5032064,2.102714 2.4324116,1.9393966 2.387385,1.7622659 2.3807332,1.5818156 V 0.79271647 Z M 0.79271647,1.5880168 V 1.8515666 H 1.5606283 C 1.5461568,2.1108281 1.5113929,2.3770264 1.4138672,2.5647013 1.2984272,2.7868498 1.1482379,2.9100253 0.9255249,2.9098999 H 0.79271647 V 3.1760335 H 0.9255249 C 1.255873,3.1762196 1.5043842,2.9629134 1.6484782,2.6856242 1.7925721,2.408335 1.8535129,2.0598344 1.8515666,1.7187581 1.8507224,1.6469042 1.7926791,1.5888609 1.7208252,1.5880168 Z"+ inkscape:label="water-glyph"+ sodipodi:nodetypes="ccccccccccccccccccccsccccsccc" /><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:0.25;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 0.26458332,3.7050779 V 3.9687498 L 3.9687499,3.9682942 V 3.7046223 Z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /><path+ id="path3115-7-1"+ style="color:#000000;fill:#d2d2d2;fill-opacity:0.25;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.26458324,0.26526688 v 0.2636718 l 3.70416666,-4.555e-4 v -0.2636719 z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /><path+ id="path3115-7-2"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 0.26458322,2.1180336 V 2.3817055 L 3.9687498,2.3812499 V 2.117578 Z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-math.svg b/plugins/dockers/textproperties/icons/baseline-math.svgnew file mode 100644index 0000000000..5a2d02cb4d--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-math.svg@@ -0,0 +1,67 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-text-math.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="5.2025309"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date></cc:Work></rdf:RDF></metadata><path+ id="path3115-7"+ style="color:#000000;display:inline;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 1.0583333,2.1166666 -0.79375019,2.276e-4 v 0.263672 l 0.79375019,6.837e-4 z m 1.8520832,9.113e-4 v 0.263672 L 3.96875,2.3810222 v -0.263672 z"+ inkscape:label="baseline"+ sodipodi:nodetypes="cccccccccc" /><path+ id="path8995"+ style="color:#000000;fill:#d2d2d2;fill-opacity:0.5;stroke-linecap:square;stroke-linejoin:bevel;-inkscape-stroke:none;paint-order:stroke markers fill"+ inkscape:label="1-glyph"+ d="M 0.79375,1.0583333 0.26458333,1.5875 h 0.33331299 l 0.19482015,-0.1834513 -2e-8,0.4480345 H 1.0583333 V 1.0583333 Z m -4e-8,1.5874999 -0.001034,0.5302003 H 0.2635498 v 0.2635498 h 1.324467 V 3.1760335 H 1.0588501 L 1.0598841,2.64635 Z"+ sodipodi:nodetypes="ccccccccccccccccc" /><path+ id="path9045"+ style="color:#000000;fill:#d2d2d2;fill-opacity:0.5;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 1.8515666,1.5880168 V 2.1171834 H 1.3223999 V 2.3807332 H 1.8515666 V 2.9098999 H 2.1171834 V 2.3807332 H 2.6463501 V 2.1171834 H 2.1171834 V 1.5880168 Z"+ inkscape:label="+glyph"+ sodipodi:nodetypes="ccccccccccccc" /><path+ id="path9003"+ style="color:#000000;fill:#d2d2d2;fill-opacity:0.5;stroke-linecap:square;-inkscape-stroke:none;paint-order:stroke markers fill"+ inkscape:label="2-glyph"+ d="M 3.2902384 1.0588501 C 3.1202822 1.063837 2.9657261 1.1456508 2.8494385 1.2619385 C 2.6855003 1.4701044 2.6485119 1.6137733 2.6463501 1.8515666 L 2.9098999 1.8515666 C 2.8843223 1.6880431 2.9725242 1.5607479 3.0370239 1.4490072 C 3.1154218 1.3706092 3.2186501 1.3223999 3.3067749 1.3223999 C 3.416983 1.3223999 3.5177577 1.3514588 3.5858276 1.4081828 C 3.6538976 1.4649077 3.7031331 1.5518325 3.7031331 1.7208252 C 3.7031331 1.7677144 3.6916805 1.8096019 3.6679932 1.8520833 L 3.95118 1.8520833 C 3.9623821 1.8104935 3.96875 1.766853 3.96875 1.7208252 C 3.96875 1.4929437 3.8862102 1.3137337 3.7558431 1.2050944 C 3.6254759 1.0964551 3.4611496 1.0588501 3.3067749 1.0588501 C 3.3012606 1.0588501 3.2957209 1.0586892 3.2902384 1.0588501 z M 2.8530558 2.6458333 C 2.732212 2.8205701 2.6463501 3.0352516 2.6463501 3.3067749 L 2.6463501 3.4395833 L 3.96875 3.4395833 L 3.96875 3.1739665 L 2.9367716 3.1760335 C 2.9751929 2.9687475 3.0744141 2.7927823 3.203422 2.6458333 L 2.8530558 2.6458333 z " /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-text-bottom.svg b/plugins/dockers/textproperties/icons/baseline-text-bottom.svgnew file mode 100644index 0000000000..bfc50744fa--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-text-bottom.svg@@ -0,0 +1,60 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-text-bottom.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="9.6455682"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date><dc:description>Adapted from Breeze icon "format-text-capitalize"</dc:description></cc:Work></rdf:RDF></metadata><path+ id="path8827"+ style="color:#232629;fill:#d2d2d2;fill-opacity:0.5;stroke:none;stroke-width:0.264583"+ d="M 1.0299112,1.0578165 0.26561681,3.1744832 H 0.57464186 L 0.83767491,2.569869 H 1.5725138 l 0.236678,0.6046142 H 2.1177001 L 1.4180012,1.0578165 Z m 0.1937867,0.3281453 0.289388,0.8815998 H 0.90382074 Z" /><path+ id="path7010"+ style="color:#232629;fill:#d2d2d2;fill-opacity:0.5;stroke:none;stroke-width:0.264583"+ d="m 3.1739665,1.5875 c -0.4383756,0 -0.79375,0.3553744 -0.79375,0.79375 0,0.4383756 0.3553744,0.79375 0.79375,0.79375 0.1959328,-4.362e-4 0.3847814,-0.073325 0.5302002,-0.2046387 v 0.3364136 h -0.00103 v 0.1328084 c 0.00104,0.2647132 -0.2632979,0.2645913 -0.5270996,0.2635498 l -0.5302003,-2e-7 v 0.2656169 l 0.5302003,2e-7 C 3.8486632,3.9742433 3.9687498,3.7042965 3.96875,3.4395833 V 3.3067749 1.5875 H 3.7041667 V 1.7916219 C 3.5586711,1.660496 3.3698309,1.5877944 3.1739665,1.5875 Z m -0.013436,0.2645833 c 0.00454,-1.15e-4 0.00887,0 0.013436,0 0.2922504,0 0.5291666,0.2369163 0.5291666,0.5291667 0,0.2922504 -0.2369162,0.5291667 -0.5291666,0.5291667 -0.2922503,0 -0.5291667,-0.2369164 -0.5291667,-0.5291667 0,-0.287684 0.2297926,-0.5219224 0.5157308,-0.5291667 z"+ sodipodi:nodetypes="cscccccccccscccccssssss" /><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.26458332,3.9696611 v 0.263672 L 3.96875,4.2331055 v -0.263672 z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-text-top.svg b/plugins/dockers/textproperties/icons/baseline-text-top.svgnew file mode 100644index 0000000000..9ea0208d1f--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-text-top.svg@@ -0,0 +1,57 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-text-top.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="9.7974669"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date><dc:description>Adapted from Breeze icon "format-text-capitalize"</dc:description></cc:Work></rdf:RDF></metadata><path+ style="color:#232629;fill:#d2d2d2;fill-opacity:0.5;stroke:none;stroke-width:0.264583"+ d="M 2.3812499,1.0583333 V 3.4395832 H 2.6458332 V 3.2354614 a 0.79374999,0.79374999 0 0 0 0.5302002,0.2041218 0.79374999,0.79374999 0 0 0 0.79375,-0.79375 0.79374999,0.79374999 0 0 0 -0.79375,-0.79375 0.79374999,0.79374999 0 0 0 -0.5302002,0.2046387 V 1.0583333 Z M 1.0309448,1.3223998 0.26665037,3.4390665 H 0.57567542 L 0.83870847,2.8344523 H 1.5735473 l 0.236678,0.6046142 H 2.1187336 L 1.4190347,1.3223998 Z m 0.1937866,0.3281453 0.289388,0.8815998 H 0.9048543 Z m 1.951302,0.4661215 A 0.52916666,0.52916666 0 0 1 3.7052,2.6458332 0.52916666,0.52916666 0 0 1 3.1760334,3.1749999 0.52916666,0.52916666 0 0 1 2.6468667,2.6458332 0.52916666,0.52916666 0 0 1 3.1760334,2.1166666 Z"+ class="ColorScheme-Text"+ id="path7010" /><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.26458332,0.79374996 0,0.26367204 3.70416648,0 V 0.79374996 Z"+ inkscape:label="baseline"+ sodipodi:nodetypes="ccccc" /></svg>diff --git a/plugins/dockers/textproperties/icons/baseline-x-middle.svg b/plugins/dockers/textproperties/icons/baseline-x-middle.svgnew file mode 100644index 0000000000..37de24c2c5--- /dev/null+++ b/plugins/dockers/textproperties/icons/baseline-x-middle.svg@@ -0,0 +1,60 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->++<svg+ width="16"+ height="16"+ viewBox="0 0 4.2333332 4.2333333"+ version="1.1"+ id="svg5"+ xml:space="preserve"+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"+ sodipodi:docname="baseline-text-middle.svg"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview+ id="namedview7"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="true"+ inkscape:zoom="39.500006"+ inkscape:cx="9.2405049"+ inkscape:cy="7.4430368"+ inkscape:window-width="1920"+ inkscape:window-height="1010"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5"><inkscape:grid+ type="xygrid"+ id="grid1725"+ spacingx="0.13229166"+ spacingy="0.13229166"+ empspacing="2"+ originx="0"+ originy="0" /></sodipodi:namedview><defs+ id="defs2" /><metadata+ id="metadata3005"><rdf:RDF><cc:Work+ rdf:about=""><dc:creator><cc:Agent><dc:title>Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>CC-BY-SA 4.0 Wolthera van Hövell tot Westerflier</dc:title></cc:Agent></dc:rights><dc:date>february 2025</dc:date><dc:description>Adapted from Breeze icon "format-text-capitalize"</dc:description></cc:Work></rdf:RDF></metadata><path+ id="path8827"+ style="color:#232629;fill:#d2d2d2;fill-opacity:0.5;stroke:none;stroke-width:0.264583"+ d="M 1.0299113 0.79323324 L 0.68988037 1.8520833 L 0.99270426 1.8520833 L 1.2236979 1.1213786 L 1.4319539 1.8526001 L 1.7290934 1.8526001 L 1.4180013 0.79323324 L 1.0299113 0.79323324 z M 0.43563232 2.6453166 L 0.26561686 3.1744832 L 0.57464193 3.1744832 L 0.74207357 2.6453166 L 0.43563232 2.6453166 z M 1.6582967 2.6458333 L 1.8091919 3.1744832 L 2.1177002 3.1744832 L 1.9621541 2.6458333 L 1.6582967 2.6458333 z " /><path+ id="path3115-7"+ style="color:#000000;fill:#d2d2d2;fill-opacity:1;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="m 0.26458332,2.1175779 v 0.263672 L 2.6458331,2.3805664 v -0.263672 z m 3.17499988,0 v 0.263672 L 3.96875,2.3810222 v -0.263672 z"+ inkscape:label="baseline"+ sodipodi:nodetypes="cccccccccc" /><path+ id="path8922"+ style="color:#000000;opacity:1;fill:#d2d2d2;fill-opacity:0.501961;stroke-linecap:square;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"+ d="M 2.1171834,1.3231688 V 1.5867186 H 2.2479248 2.4494629 L 2.8732096,2.2480736 2.4494629,2.9098999 H 2.2479248 2.1171834 v 0.2661336 h 0.1307414 0.2656169 c 0.040643,-1.937e-4 0.078942,-0.019057 0.1038696,-0.05116 L 3.0427083,2.459947 3.4685221,3.1248739 c 0.024927,0.032102 0.063226,0.050966 0.1038697,0.05116 H 3.8359416 3.96875 V 2.9098999 H 3.8359416 3.6349202 L 3.212207,2.2480736 3.6349202,1.5867186 H 3.8359416 3.96875 V 1.3231688 H 3.8359416 3.5723918 c -0.040206,-4.325e-4 -0.078426,0.017442 -0.1038697,0.048576 L 3.0427083,2.0362003 2.6174113,1.3717446 C 2.591968,1.3406106 2.5537474,1.3227363 2.5135417,1.3231688 H 2.2479248 Z"+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccc" /></svg>diff --git a/plugins/dockers/textproperties/qml/AlignmentBaseline.qml b/plugins/dockers/textproperties/qml/AlignmentBaseline.qmlindex 669a1371e3..c7fde368b6 100644--- a/plugins/dockers/textproperties/qml/AlignmentBaseline.qml+++ b/plugins/dockers/textproperties/qml/AlignmentBaseline.qml@@ -55,22 +55,34 @@ TextPropertyBase {width: firstColumnWidth;height: 1;}- ComboBox {+ SqueezedComboBox {model: [- {text: i18nc("@label:inlistbox", "Baseline"), value: KoSvgText.BaselineAuto},- {text: i18nc("@label:inlistbox", "Alphabetic"), value: KoSvgText.BaselineAlphabetic},- {text: i18nc("@label:inlistbox", "Ideographic"), value: KoSvgText.BaselineIdeographic},- {text: i18nc("@label:inlistbox", "Central"), value: KoSvgText.BaselineCentral},- {text: i18nc("@label:inlistbox", "Hanging"), value: KoSvgText.BaselineHanging},- {text: i18nc("@label:inlistbox", "Middle"), value: KoSvgText.BaselineMiddle},- {text: i18nc("@label:inlistbox", "Mathematical"), value: KoSvgText.BaselineMathematical},- {text: i18nc("@label:inlistbox", "Text-Top"), value: KoSvgText.BaselineTextTop},- {text: i18nc("@label:inlistbox", "Text-Bottom"), value: KoSvgText.BaselineTextBottom}+ {text: i18nc("@label:inlistbox", "Baseline"), value: KoSvgText.BaselineAuto, icon: "",+ toolTip: i18nc("@info:tooltip", "Align to the baseline defined by Dominant Baseline.")},+ {text: i18nc("@label:inlistbox", "Alphabetic"), value: KoSvgText.BaselineAlphabetic, icon: "qrc:///baseline-alphabetic.svg",+ toolTip: i18nc("@info:tooltip", "Align to the baseline for scripts that align at the bottom.")},+ {text: i18nc("@label:inlistbox", "Ideographic"), value: KoSvgText.BaselineIdeographic, icon: "qrc:///baseline-ideo-embox-bottom.svg",+ toolTip: i18nc("@info:tooltip", "Align to the ideographic em box bottom.")},+ {text: i18nc("@label:inlistbox", "Central"), value: KoSvgText.BaselineCentral, icon: "qrc:///baseline-ideo-embox-horizontal-center.svg",+ toolTip: i18nc("@info:tooltip", "Align to the ideographic em box center.")},+ {text: i18nc("@label:inlistbox", "Hanging"), value: KoSvgText.BaselineHanging, icon: "qrc:///baseline-hanging.svg",+ toolTip: i18nc("@info:tooltip", "Align to the headstroke as used by North-Brahmic scripts.")},+ {text: i18nc("@label:inlistbox", "Middle"), value: KoSvgText.BaselineMiddle, icon: "qrc:///baseline-x-middle.svg",+ toolTip: i18nc("@info:tooltip", "Align to the center between the alphabetic baseline and x-height when laying out horizontally, in vertical this is the central baseline.")},+ {text: i18nc("@label:inlistbox", "Mathematical"), value: KoSvgText.BaselineMathematical, icon: "qrc:///baseline-math.svg",+ toolTip: i18nc("@info:tooltip", "Align to the mathematical baseline, so that operator symbols align.")},+ {text: i18nc("@label:inlistbox", "Text Top"), value: KoSvgText.BaselineTextTop, icon: "qrc:///baseline-text-top.svg",+ toolTip: i18nc("@info:tooltip", "Align to the ascender.")},+ {text: i18nc("@label:inlistbox", "Text Bottom"), value: KoSvgText.BaselineTextBottom, icon: "qrc:///baseline-text-bottom.svg",+ toolTip: i18nc("@info:tooltip", "Align to the descender.")}]Layout.fillWidth: true;id: baselineCmb;textRole: "text";valueRole: "value";+ iconRole: "icon";+ iconSize: 16;+ toolTipRole: "toolTip";onActivated: baselineSelection = currentValue;wheelEnabled: true;}diff --git a/plugins/dockers/textproperties/qml/BaselineShift.qml b/plugins/dockers/textproperties/qml/BaselineShift.qmlindex 8667d612e9..02bda31814 100644--- a/plugins/dockers/textproperties/qml/BaselineShift.qml+++ b/plugins/dockers/textproperties/qml/BaselineShift.qml@@ -25,7 +25,7 @@ TextPropertyBase {baselineShiftMode = properties.baselineShiftMode;baselineShiftUnitCmb.dpi = canvasDPI;baselineShiftUnitCmb.setTextProperties(properties);- baselineShiftUnitCmb.setDataValueAndUnit(properties.baselineShiftValue.unitType, properties.baselineShiftValue.value)+ baselineShiftUnitCmb.setDataValueAndUnit(properties.baselineShiftValue.value, properties.baselineShiftValue.unitType)visible = properties.baselineShiftState !== KoSvgTextPropertiesModel.PropertyUnsetblockSignals = false;}@@ -79,18 +79,20 @@ TextPropertyBase {height: 1;}- ComboBox {+ SqueezedComboBox {Layout.columnSpan: 2;Layout.fillWidth: true;model: [- { text: i18nc("@label:inlistbox", "None"), value: KoSvgText.ShiftNone},- { text: i18nc("@label:inlistbox", "Length"), value: KoSvgText.ShiftLengthPercentage},- { text: i18nc("@label:inlistbox", "Super"), value: KoSvgText.ShiftSuper},- { text: i18nc("@label:inlistbox", "Sub"), value: KoSvgText.ShiftSub}+ { text: i18nc("@label:inlistbox", "None"), value: KoSvgText.ShiftNone, icon: ""},+ { text: i18nc("@label:inlistbox", "Length"), value: KoSvgText.ShiftLengthPercentage, icon: ""},+ { text: i18nc("@label:inlistbox", "Super"), value: KoSvgText.ShiftSuper, icon: "qrc:///16_light_format-text-superscript.svg"},+ { text: i18nc("@label:inlistbox", "Sub"), value: KoSvgText.ShiftSub, icon: "qrc:///16_light_format-text-subscript.svg"}]id: baselineShiftCmb;textRole: "text";valueRole: "value";+ iconRole: "icon";+ iconSize: 16;onActivated: baselineShiftMode = currentValue;wheelEnabled: true;}@@ -128,6 +130,7 @@ TextPropertyBase {palette: baselinePalette.palette;Layout.preferredWidth: minimumUnitBoxWidth;Layout.maximumWidth: implicitWidth;+ isFontSize: false;enabled: baselineShiftMode === KoSvgText.ShiftLengthPercentage;dpi:dpi;onUserValueChanged: baselineShiftSpn.value = userValue;diff --git a/plugins/dockers/textproperties/qml/DominantBaseline.qml b/plugins/dockers/textproperties/qml/DominantBaseline.qmlindex 4faba29127..4854c8a15c 100644--- a/plugins/dockers/textproperties/qml/DominantBaseline.qml+++ b/plugins/dockers/textproperties/qml/DominantBaseline.qml@@ -55,22 +55,34 @@ TextPropertyBase {width: firstColumnWidth;height: 1;}- ComboBox {+ SqueezedComboBox {model: [- {text: i18nc("@label:inlistbox", "Auto"), value: KoSvgText.BaselineAuto},- {text: i18nc("@label:inlistbox", "Alphabetic"), value: KoSvgText.BaselineAlphabetic},- {text: i18nc("@label:inlistbox", "Ideographic"), value: KoSvgText.BaselineIdeographic},- {text: i18nc("@label:inlistbox", "Central"), value: KoSvgText.BaselineCentral},- {text: i18nc("@label:inlistbox", "Hanging"), value: KoSvgText.BaselineHanging},- {text: i18nc("@label:inlistbox", "Middle"), value: KoSvgText.BaselineMiddle},- {text: i18nc("@label:inlistbox", "Mathematical"), value: KoSvgText.BaselineMathematical},- {text: i18nc("@label:inlistbox", "Text-Top"), value: KoSvgText.BaselineTextTop},- {text: i18nc("@label:inlistbox", "Text-Bottom"), value: KoSvgText.BaselineTextBottom}+ {text: i18nc("@label:inlistbox", "Auto"), value: KoSvgText.BaselineAuto, icon: "",+ toolTip: i18nc("@info:tooltip", "Aligns to alphabetic baseline when laying out horizontally, aligns to central baseline when laying out vertically.")},+ {text: i18nc("@label:inlistbox", "Alphabetic"), value: KoSvgText.BaselineAlphabetic, icon: "qrc:///baseline-alphabetic.svg",+ toolTip: i18nc("@info:tooltip", "Align to the baseline for scripts that align at the bottom.")},+ {text: i18nc("@label:inlistbox", "Ideographic"), value: KoSvgText.BaselineIdeographic, icon: "qrc:///baseline-ideo-embox-bottom.svg",+ toolTip: i18nc("@info:tooltip", "Align to the ideographic em box bottom.")},+ {text: i18nc("@label:inlistbox", "Central"), value: KoSvgText.BaselineCentral, icon: "qrc:///baseline-ideo-embox-horizontal-center.svg",+ toolTip: i18nc("@info:tooltip", "Align to the ideographic em box center.")},+ {text: i18nc("@label:inlistbox", "Hanging"), value: KoSvgText.BaselineHanging, icon: "qrc:///baseline-hanging.svg",+ toolTip: i18nc("@info:tooltip", "Align to the headstroke of north-brahmic scripts.")},+ {text: i18nc("@label:inlistbox", "Middle"), value: KoSvgText.BaselineMiddle, icon: "qrc:///baseline-x-middle.svg",+ toolTip: i18nc("@info:tooltip", "Align to the center between the alphabetic baseline and x-height when laying out horizontally, in vertical this is the central baseline.")},+ {text: i18nc("@label:inlistbox", "Mathematical"), value: KoSvgText.BaselineMathematical, icon: "qrc:///baseline-math.svg",+ toolTip: i18nc("@info:tooltip", "Align to the mathematical baseline, so that operator symbols align.")},+ {text: i18nc("@label:inlistbox", "Text Top"), value: KoSvgText.BaselineTextTop, icon: "qrc:///baseline-text-top.svg",+ toolTip: i18nc("@info:tooltip", "Align to the ascender.")},+ {text: i18nc("@label:inlistbox", "Text Bottom"), value: KoSvgText.BaselineTextBottom, icon: "qrc:///baseline-text-bottom.svg",+ toolTip: i18nc("@info:tooltip", "Align to the descender.")}]Layout.fillWidth: true;id: baselineCmb;textRole: "text";valueRole: "value";+ iconRole: "icon";+ iconSize: 16;+ toolTipRole: "toolTip";onActivated: baselineSelection = currentValue;wheelEnabled: true;}diff --git a/plugins/dockers/textproperties/textproperties.qrc b/plugins/dockers/textproperties/textproperties.qrcindex 13344b01c2..3b35afdd11 100644--- a/plugins/dockers/textproperties/textproperties.qrc+++ b/plugins/dockers/textproperties/textproperties.qrc@@ -49,5 +49,13 @@<file alias="OpenTypeFeatureDelegate.qml">qml/OpenTypeFeatureDelegate.qml</file><file alias="FontKerning.qml">qml/FontKerning.qml</file><file alias="Language.qml">qml/Language.qml</file>+ <file alias="baseline-math.svg">icons/baseline-math.svg</file>+ <file alias="baseline-alphabetic.svg">icons/baseline-alphabetic.svg</file>+ <file alias="baseline-text-top.svg">icons/baseline-text-top.svg</file>+ <file alias="baseline-text-bottom.svg">icons/baseline-text-bottom.svg</file>+ <file alias="baseline-x-middle.svg">icons/baseline-x-middle.svg</file>+ <file alias="baseline-hanging.svg">icons/baseline-hanging.svg</file>+ <file alias="baseline-ideo-embox-bottom.svg">icons/baseline-ideo-embox-bottom.svg</file>+ <file alias="baseline-ideo-embox-horizontal-center.svg">icons/baseline-ideo-embox-horizontal-center.svg</file></qresource></RCC>