Skip to content
Snippets Groups Projects
Robert O'Bara's avatar
Robert M. O'Bara authored
You can now indicate that you want a Multi-line StringItem to have an expanding size policy
for its height by using the new **ExpandInY** option.  Here is an example:

.. code-block:: xml

  <Views>
    <View Type="Instanced" Title="StringItemTest" Label="Simple String Item Test" TopLevel="true">
      <InstancedAttributes>
        <Att Type="A" Name="Test Attribute">
          <ItemViews>
            <View Item="s" ExpandInY="true"/>
          </ItemViews>
        </Att>
      </InstancedAttributes>
    </View>
  </Views>

Please see data/attribute/attribute_collection/StringItemExample.sbt for a complete example.
1e74244d
History
Name Last commit Last update
..