You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/plugins
poire-z f05e62c1fb
TextWidget: small refactoring, better handle max_width (#5503)
Lots of code was doing some renderText calls to get the size
of some text string, and truncate it to some width if needed,
with or without an added ellipsis, before instantiating
a TextWidget with that tweaked text string.

This PR fixes/adds some properties and methods to TextWidget
so all that can be done by it. It makes the calling code
simpler, as they don't need to use RenderText directly.
(Additionally, when we go at using Harfbuzz for text rendering,
we'll just have to update or replace textwidget.lua without
the need to update any higher level code.)

Also:
- RenderText: removed the space added by truncateTextByWidth
  after the ellipsis, as it doesn't feel needed, and break
  right alignment of the ellipsis with other texts.
- KeyValuePage: fix some subtle size and alignment issues.
- NumberPickerWidget: fix font size (provided font size was
  not used)
5 years ago
..
SSH.koplugin [UX] SSH: double info dialog timeout (#4417) 5 years ago
autofrontlight.koplugin [Fix] Don't load disabled plugins (#4169) 6 years ago
autosuspend.koplugin [fix, plugin] Remove wakeup task on resume (#5502) 5 years ago
autoturn.koplugin [feat, plugin] Add AutoTurn (#5295) 5 years ago
backgroundrunner.koplugin [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
batterystat.koplugin Keep some menus open when Tap or Hold (#4189) 6 years ago
calibrecompanion.koplugin [lang] Miscellaneous improvements (#5263) 5 years ago
coverbrowser.koplugin TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
docsettingtweak.koplugin [Plugin] Per directory defaults (#5428) 5 years ago
evernote.koplugin [Plugin] Support for exporting annotations/bookmark renames (#5440) 5 years ago
goodreads.koplugin TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
hello.koplugin [feat] MenuSorter: add sorting_hint support (#4399) 6 years ago
keepalive.koplugin [feat] Add support for BQ/Fnac devices (#4294) 6 years ago
kosync.koplugin [fix, UX] Update kosync login/logout text (#5278) 5 years ago
newsdownloader.koplugin [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
perceptionexpander.koplugin [fix, plugin] Change perception expander plugin behaviors (#5051) 5 years ago
readtimer.koplugin [i18n, plugins] ReadTimer - better plural forms (#5315) 5 years ago
send2ebook.koplugin [chore] Convert a couple more todos (#5267) 5 years ago
statistics.koplugin [plugin/statistics] Synchronize Current book with footer (#5344) 5 years ago
systemstat.koplugin show android mountpoint on system stats (#5493) 5 years ago
terminal.koplugin Keep some menus open when Tap or Hold (#4189) 6 years ago
texteditor.koplugin [CI] Switch to custom xgettext build to extract multiline strings (#5242) 5 years ago
timesync.koplugin [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
wallabag.koplugin [feat] plugins/Wallabag: add ability to set a list of tags to ignore (#5467) 5 years ago
zsync.koplugin Fix: Zsync -> Subscribe to book share crashes (#5184) 5 years ago