pramod.s Posted September 11, 2012 Share 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 Link to comment
unclebob Posted September 11, 2012 Share Posted September 11, 2012 Hi, Use EditLine instead of WidgetEditLine. Link to comment
pramod.s Posted September 11, 2012 Author Share Posted September 11, 2012 I used EditLine inplace of WIdgetEditLine & I am getting attached error know Link to comment
pramod.s Posted September 17, 2012 Author Share Posted September 17, 2012 Any help on this! Link to comment
frustum Posted September 17, 2012 Share Posted September 17, 2012 Please attach full source code. Link to comment
pramod.s Posted September 17, 2012 Author Share Posted September 17, 2012 Attached the source DialogTest.zip Link to comment
frustum Posted September 17, 2012 Share Posted September 17, 2012 Don't mix internal engine Widgets and high-level Unigine::Widgets classes. DialogTest.zip Link to comment
pramod.s Posted September 18, 2012 Author Share Posted September 18, 2012 Thank for the info & correction Link to comment
Recommended Posts