11-10-2011, 11:17 PM,
(This post was last modified: 11-10-2011, 11:37 PM by RobertShiplett.)
|
|||||
|
|||||
RE: Curl Mobile
You might try this in a docs {example } box:
{import TextShape from CURL.GUI.SHAPES} {paragraph text-breakable? = false, {HBox {Fill width={make-elastic preferred-size=1cm}} , {TextShape halign=0.5, "testing\ "} ,{Fill width={make-elastic preferred-size=10cm}} ,{TextShape halign="right", "tested\ "}} {br} {HBox {Fill width={make-elastic preferred-size=1cm}} , {TextShape halign=0.5, "testing2"} ,{Fill width={make-elastic preferred-size=10cm}} ,{TextShape halign="right", "tested2"}} } If you remove the 2 non-breaking spaces (themselves a practical non-starter) you will see the breakdown. Enter stage left: more HBox's in a paragraph? ParagraphVisual is a subclass of TextVisual. TextElement is undocumented ? LineVisual would be a subclass of TextVisual ?
Robert Shiplett, Curlr
Fredericton NB Canada |
|||||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Curl Mobile - by RobertShiplett - 11-10-2011, 10:42 PM
RE: Curl Mobile - by RobertShiplett - 11-10-2011, 11:17 PM
RE: Curl Mobile - by RobertShiplett - 11-10-2011, 11:22 PM
RE: Curl Mobile - by RobertShiplett - 11-15-2011, 08:33 PM
|
Users browsing this thread:
1 Guest(s)
1 Guest(s)