pramod.s Posted September 11, 2012 Posted September 11, 2012 Hello, Before posting the issue, I would like to say that I tried searching the document & samples, but didn't finding any help out of it. The issue I am facing is that when I create a WidgetEditLine object and try to add it to VBox object, I am getting an error which I am unable to solve. It might be simple mistake but didn't find any leads to fix it. Attached is the screenshot of the error. Gui gui = engine.getGui(); VBox vBox = new VBox(8, 8); addChild(vBox, ALIGN_EXPAND); vBox.addChild(new Label("Date:"), ALIGN_RIGHT); WidgetEditLine dateDialog = new WidgetEditLine(gui); vBox.addChild(dateDialog, ALIGN_EXPAND);-------------->This is where I am getting error Please check where I am going wrong, Thanks
unclebob Posted September 11, 2012 Posted September 11, 2012 Hi, Use EditLine instead of WidgetEditLine.
pramod.s Posted September 11, 2012 Author Posted September 11, 2012 I used EditLine inplace of WIdgetEditLine & I am getting attached error know
pramod.s Posted September 17, 2012 Author Posted September 17, 2012 Attached the source DialogTest.zip
frustum Posted September 17, 2012 Posted September 17, 2012 Don't mix internal engine Widgets and high-level Unigine::Widgets classes. DialogTest.zip
Recommended Posts