mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1854616 [[Enhancement] Add separator in Fonts preferences](https://bugs.launchpad.net/calibre/+bug/1854616)
This commit is contained in:
parent
d6ee7238bb
commit
c344ef0775
@ -329,7 +329,7 @@ class MainOverlay: # {{{
|
||||
onclick=def (evt):evt.stopPropagation();,
|
||||
|
||||
set_css(E.div( # top row
|
||||
E.div(self.overlay.view.book.metadata.title, style='max-width: 90%; text-overflow: ellipsis; font-weight: bold; white-space: nowrap; overflow: hidden'),
|
||||
E.div(self.overlay.view.book.metadata.title or _('Unknown'), style='max-width: 90%; text-overflow: ellipsis; font-weight: bold; white-space: nowrap; overflow: hidden'),
|
||||
E.div(self.date_formatter.format(Date()), id=timer_id(), style='max-width: 9%; white-space: nowrap; overflow: hidden'),
|
||||
),
|
||||
display='flex', justify_content='space-between', align_items='baseline', font_size='smaller', padding='0.5ex 1ex', border_bottom='solid 1px currentColor'
|
||||
|
@ -88,8 +88,8 @@ def create_fonts_panel(container, apply_func, cancel_func):
|
||||
row(_('Standard font'), standard_font(settings)),
|
||||
))
|
||||
|
||||
container.append(E.div(_('Zoom related settings'), style='margin-top: 1rem'))
|
||||
container.append(E.table(style='margin-top: 1rem',
|
||||
container.append(E.div(_('Zoom related settings'), style='margin-top: 1rem; padding-top: 1rem; width: 100%; border-top: solid 1px'))
|
||||
container.append(E.table(
|
||||
row(_('Zoom step size (%)'), zoom_step_size(settings)),
|
||||
row(_('Minimum font size (px)'), minimum_font_size(settings)),
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user