Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easyform in outputcontainer #7461

Closed
scottdraves opened this issue May 31, 2018 · 1 comment
Closed

easyform in outputcontainer #7461

scottdraves opened this issue May 31, 2018 · 1 comment

Comments

@scottdraves
Copy link
Contributor

scottdraves commented May 31, 2018

this should make a form, not a table:

f = new EasyForm("Test Form")
f.addTextField("sometext")
o = new OutputContainer()
o.addItem(f, "Easy Form")
o
lmitusinski pushed a commit that referenced this issue Jul 17, 2018
LeeTZ pushed a commit that referenced this issue Jul 17, 2018
…7691)

* #7461 fix for displaying EasyForm in OutputContainer for JVM kernels

* #7461 introducing WidgetItem interface for handling display on output container items
@LeeTZ
Copy link
Contributor

LeeTZ commented Jul 17, 2018

This is still buggy in tabbed output containers:

TableDisplay t = new TableDisplay(table);
def l = new TabbedOutputContainerLayoutManager()
l.setBorderDisplayed(false)
def o = new OutputContainer()
o.setLayoutManager(l)
o.addItem(plot1, "Scatter with History")
o.addItem(plot2, "Short Term")
o.addItem(plot3, "Long Term")
o.addItem(t, "1990/01")
f = new EasyForm("Test Form")
f.addTextField("sometext")
f
o.addItem(f, "easyform")
o 

screenshot from 2018-07-17 17-26-47

The easy form is added to every tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants