michael.zhang Posted November 16, 2010 Share Posted November 16, 2010 Hello, Double clicking on the expand and collapse cross/minus inside a treebox causes the containing Window to minimize (the floatable=1 behavior). This doesn't seem like intended behavior. Michael Zhang Link to comment
serega Posted November 16, 2010 Share Posted November 16, 2010 Can't reproduce. In what Window do you click on the cross/minus? Link to comment
michael.zhang Posted November 17, 2010 Author Share Posted November 17, 2010 Can't reproduce. In what Window do you click on the cross/minus? Try this: WidgetWindow w = new WidgetWindow(engine.getGui()); WidgetTreeBox t = new WidgetTreeBox(engine.getGui()); w.setMoveable(1); w.setSizeable(1); w.setTitleable(1); w.setBlendable(0); w.setFloatable(1); int parent = t.addItem("Root"); int child1 = t.addItem("Child1"); int child2 = t.addItem("Child2"); t.addItemChild(parent, child1); t.addItemChild(parent, child2); w.addChild(t, GUI_ALIGN_LEFT); engine.gui.addChild(w); Link to comment
serega Posted November 18, 2010 Share Posted November 18, 2010 Thank you. We will fix it. The right behavior is just double click on the window title leads to a window is minimized. Link to comment
Recommended Posts