fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New Element-based builder API (WiP).
[librarian.git]
/
src
/
librarian
/
elements
/
separators
/
separator_linia.py
1
from ..base import WLElement
2
3
4
class SeparatorLinia(WLElement):
5
TXT_TOP_MARGIN = 4
6
TXT_BOTTOM_MARGIN = 4
7
TXT_LEGACY_TOP_MARGIN = 2
8
TXT_LEGACY_BOTTOM_MARGIN = 2
9
10
def _txt_build_inner(self, builder):
11
builder.push_text('-' * 48)