Make { wrap-margin f } in a style work
parent
81e5fd2c9e
commit
f7871d7055
|
|
@ -55,8 +55,10 @@ M: object-button gadget-help ( button -- string )
|
||||||
|
|
||||||
: apply-wrap-style ( style pane -- style pane )
|
: apply-wrap-style ( style pane -- style pane )
|
||||||
wrap-margin [
|
wrap-margin [
|
||||||
2dup <paragraph> swap set-pane-prototype
|
[
|
||||||
<paragraph> over set-pane-current
|
2dup <paragraph> swap set-pane-prototype
|
||||||
|
<paragraph> over set-pane-current
|
||||||
|
] when*
|
||||||
] apply-style ;
|
] apply-style ;
|
||||||
|
|
||||||
: apply-border-width-style ( style gadget -- style gadget )
|
: apply-border-width-style ( style gadget -- style gadget )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue