mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
c98dfef7fc
- Rework widget layout to avoid implicit (and wrong) sizing, using proper padding/margins and correct measurements of components. - Adjust lookup word font size so it's not smaller than the definition. - Tweak small window positionning: keep it centered if possible, only move it to keep the highlighted word shown when we can. - Large window: adjust to screen size correctly, leaving room for footer. - Always have a "Close" button at bottom right. Former always displayed button "Follow link" will be added as a 3rd row in the rare case we select a word in a link. - Replace "tap on lookup word to edit and redo the query" with an icon on the right: tap on it to edit the queries word, long-press to edit the current result word. Only close the current dict window when lookup is launched. - Remove feature "tap on title to set current dict as the default dict for this document", as it didn't really work, and it was bad UX.
63 lines
2.6 KiB
XML
63 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
xmlns:cc="http://creativecommons.org/ns#"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:svg="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
version="1.1"
|
|
width="36"
|
|
height="36"
|
|
viewBox="0 0 36 36"
|
|
enable-background="new 0 0 24.00 24.00"
|
|
xml:space="preserve"
|
|
id="svg853"
|
|
sodipodi:docname="pencil-36.svg"
|
|
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
|
inkscape:export-filename="/tmp/pencil-box-36.png"
|
|
inkscape:export-xdpi="96"
|
|
inkscape:export-ydpi="96"><metadata
|
|
id="metadata859"><rdf:RDF><cc:Work
|
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
|
id="defs857" /><sodipodi:namedview
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1"
|
|
objecttolerance="10"
|
|
gridtolerance="10"
|
|
guidetolerance="10"
|
|
inkscape:pageopacity="0"
|
|
inkscape:pageshadow="2"
|
|
inkscape:window-width="800"
|
|
inkscape:window-height="932"
|
|
id="namedview855"
|
|
showgrid="false"
|
|
inkscape:zoom="8"
|
|
inkscape:cx="29.541088"
|
|
inkscape:cy="17.606418"
|
|
inkscape:window-x="0"
|
|
inkscape:window-y="126"
|
|
inkscape:window-maximized="0"
|
|
inkscape:current-layer="svg853"><inkscape:grid
|
|
type="xygrid"
|
|
id="grid861" /></sodipodi:namedview>
|
|
<path
|
|
fill="#000000"
|
|
fill-opacity="1"
|
|
stroke-width="0.2"
|
|
stroke-linejoin="round"
|
|
d="m 32.9118,9.08316 -4.664,4.66384 -6.5,-6.49992 4.664,-4.6639 c 0.782,-0.78216 2.048,-0.78216 2.828,0 l 3.672,3.67194 c 0.782,0.77988 0.782,2.0459 0,2.82804 z M 5.99834,23.496 20.6274,8.36784 27.1274,14.8678 12.49832,29.996 H 5.99834 Z M 27.7414,4.0871 l -3.078,3.07796 3.6716,3.6715 3.078,-3.07798 z M 24.2144,14.9572 20.543,11.28564 8,24.3284 V 28 h 3.67156 z"
|
|
id="path851"
|
|
sodipodi:nodetypes="cccccccccccccccccccccccc" />
|
|
<g
|
|
id="g961"
|
|
transform="matrix(0.78947303,0,0,0.78947586,14.13663,-0.54841485)"
|
|
style="stroke-width:1.26667"><path
|
|
id="rect1443"
|
|
style="fill:none;stroke:#000000;stroke-width:2.53332;stroke-linejoin:round"
|
|
d="m 23.892879,17.495348 v 21.742857 c 0,1.804458 -1.452685,3.257143 -3.257143,3.257143 h -31.485713 c -1.804458,0 -3.257144,-1.452685 -3.257144,-3.257143 V 7.7524915 c 0,-1.8044573 1.452686,-3.257143 3.257144,-3.257143 l 21.742856,-2e-7"
|
|
sodipodi:nodetypes="cssssssc" /></g></svg>
|