Melchior: Make line wrapping in textboxes configurable, and enable it by default
This commit is contained in:
parent
b5a534d91f
commit
3f425b2dd3
1 changed files with 13 additions and 4 deletions
|
@ -117,10 +117,10 @@ properties, though they will ignore any that are not relevant:
|
|||
the width of the parent container.
|
||||
|
||||
color - a subgroup to specify the dialogs color:
|
||||
red - specify the red color compnent of the color scheme.
|
||||
green - specify the green color compnent of the color scheme.
|
||||
blue - specify the blue color compnent of the color scheme.
|
||||
alpha - specify the alpha color compnent of the color scheme.
|
||||
red - specify the red color component of the color scheme.
|
||||
green - specify the green color component of the color scheme.
|
||||
blue - specify the blue color component of the color scheme.
|
||||
alpha - specify the alpha color component of the color scheme.
|
||||
|
||||
legend - the text legend to display in the object.
|
||||
|
||||
|
@ -231,6 +231,14 @@ Example:
|
|||
<label>Heading</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<x>10</x>
|
||||
<y>200</y>
|
||||
<label>-9.9999</label> <!-- placeholder for width -->
|
||||
<format>%-0.4f m</format>
|
||||
<property>/foo/altitude</property>
|
||||
</text>
|
||||
|
||||
|
||||
checkbox
|
||||
--------
|
||||
|
@ -382,6 +390,7 @@ property tree, like:
|
|||
<property>/gui/path-to-text-node/contents</property>
|
||||
|
||||
<slider>15</slider> <!--width for slider -->
|
||||
<wrap>false</wrap> <!-- don't wrap text; default: true -->
|
||||
|
||||
<editable>true</editable> <!-- whether the puLargeInput is supposed to be editable -->
|
||||
</textbox>
|
||||
|
|
Loading…
Add table
Reference in a new issue