Search in sources :

Example 11 with WRow

use of com.github.bordertech.wcomponents.WRow in project wcomponents by BorderTech.

the class WRowRenderer_Test method testRenderedWithSmallGap.

@Test
public void testRenderedWithSmallGap() throws IOException, SAXException, XpathException {
    WRow row = new WRow(GAP);
    row.add(new WColumn(100));
    assertSchemaMatch(row);
    assertXpathEvaluatesTo(GAP.toString(), "//ui:row/@gap", row);
}
Also used : WRow(com.github.bordertech.wcomponents.WRow) WColumn(com.github.bordertech.wcomponents.WColumn) Test(org.junit.Test)

Aggregations

WRow (com.github.bordertech.wcomponents.WRow)11 WColumn (com.github.bordertech.wcomponents.WColumn)8 Test (org.junit.Test)7 WText (com.github.bordertech.wcomponents.WText)3 WPanel (com.github.bordertech.wcomponents.WPanel)2 Margin (com.github.bordertech.wcomponents.Margin)1 Size (com.github.bordertech.wcomponents.Size)1 WHeading (com.github.bordertech.wcomponents.WHeading)1 WLabel (com.github.bordertech.wcomponents.WLabel)1 XmlStringBuilder (com.github.bordertech.wcomponents.XmlStringBuilder)1 ExplanatoryText (com.github.bordertech.wcomponents.examples.common.ExplanatoryText)1