From: John Benediktsson Date: Mon, 1 Aug 2022 04:36:06 +0000 (-0700) Subject: ui.gadgets.panes: fuse labels together with the same style X-Git-Tag: 0.99~1243 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=fc8a56f640ac075291aff1341a9041927d4cc707 ui.gadgets.panes: fuse labels together with the same style --- diff --git a/basis/ui/gadgets/panes/panes.factor b/basis/ui/gadgets/panes/panes.factor index b94a37438a..138e4e9670 100644 --- a/basis/ui/gadgets/panes/panes.factor +++ b/basis/ui/gadgets/panes/panes.factor @@ -357,8 +357,10 @@ M: pane-stream stream-write-table : pane-bl ( style gadget -- ) swap " " apply-character-style add-gadget drop ; +TUPLE: styled-label < label style ; + : ( style text -- gadget ) -