michael.zhang Posted November 16, 2010 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
serega Posted November 16, 2010 Posted November 16, 2010 Can't reproduce. In what Window do you click on the cross/minus?
michael.zhang Posted November 17, 2010 Author 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);
serega Posted November 18, 2010 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.
Recommended Posts