@@ -0,0 +1,21 @@ | |||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head profile="http://selenium-ide.openqa.org/profiles/test-case"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="selenium.base" href="" /><title>com.vaadin.tests.components.accordion.AccordionInactiveTabSize</title></head><body><table cellpadding="1" cellspacing="1" border="1"><thead><tr><td rowspan="1" colspan="3">com.vaadin.tests.components.accordion.AccordionInactiveTabSize</td></tr></thead><tbody><tr> | |||
<td>open</td> | |||
<td>/run/com.vaadin.tests.components.customcomponent.CustomLayoutUsingTemplate?restartApplication</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>screenCapture</td> | |||
<td></td> | |||
<td>initial</td> | |||
</tr> | |||
<tr> | |||
<td>click</td> | |||
<td>vaadin=runcomvaadintestscomponentscustomcomponentCustomLayoutUsingTemplate::/VVerticalLayout[0]/VVerticalLayout[0]/VCustomLayout[0]/VButton[0]/domChild[0]/domChild[0]</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>screenCapture</td> | |||
<td></td> | |||
<td>with-text-field</td> | |||
</tr> | |||
</tbody></table></body></html> |
@@ -0,0 +1,31 @@ | |||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head profile="http://selenium-ide.openqa.org/profiles/test-case"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="selenium.base" href="" /><title>com.vaadin.tests.components.accordion.AccordionInactiveTabSize</title></head><body><table cellpadding="1" cellspacing="1" border="1"><thead><tr><td rowspan="1" colspan="3">com.vaadin.tests.components.accordion.AccordionInactiveTabSize</td></tr></thead><tbody><tr> | |||
<td>open</td> | |||
<td>/run/com.vaadin.tests.components.customcomponent.CustomLayoutUsingTheme?restartApplication</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>screenCapture</td> | |||
<td></td> | |||
<td>initial</td> | |||
</tr> | |||
<tr> | |||
<td>click</td> | |||
<td>vaadin=runcomvaadintestscomponentscustomcomponentCustomLayoutUsingTheme::/VVerticalLayout[0]/VVerticalLayout[0]/VCustomLayout[0]/VVerticalLayout[0]/VButton[0]/domChild[0]/domChild[0]</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>screenCapture</td> | |||
<td></td> | |||
<td>label</td> | |||
</tr> | |||
<tr> | |||
<td>click</td> | |||
<td>vaadin=runcomvaadintestscomponentscustomcomponentCustomLayoutUsingTheme::/VVerticalLayout[0]/VVerticalLayout[0]/VCustomLayout[0]/VVerticalLayout[0]/VButton[1]/domChild[0]/domChild[0]</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>screenCapture</td> | |||
<td></td> | |||
<td>button</td> | |||
</tr> | |||
</tbody></table></body></html> |
@@ -23,20 +23,21 @@ public class CustomLayoutUsingTheme extends TestBase implements ClickListener { | |||
layout.addComponent(new TextField("Username"), "loginUser"); | |||
layout.addComponent(new TextField("Password"), "loginPassword"); | |||
layout.addComponent(new Button("Login"), "loginButton"); | |||
layout.setWidth(null); | |||
VerticalLayout menu = new VerticalLayout(); | |||
menu.addComponent(new Button("Set main to label", new ClickListener() { | |||
menu.addComponent(new Button("Set body to label", new ClickListener() { | |||
public void buttonClick(ClickEvent event) { | |||
layout.addComponent(new Label(LoremIpsum.get(200)), "main"); | |||
layout.addComponent(new Label(LoremIpsum.get(200)), "body"); | |||
} | |||
})); | |||
menu.addComponent(new Button("Set main to huge NativeButton", | |||
menu.addComponent(new Button("Set body to huge NativeButton", | |||
new ClickListener() { | |||
public void buttonClick(ClickEvent event) { | |||
layout.addComponent(new NativeButton( | |||
"This is it, the main!"), "main"); | |||
"This is it, the body!"), "body"); | |||
} | |||
})); | |||
layout.addComponent(menu, "menu"); |