Menu

#1024 Group box 3d closes/opens unexpectedly

3.0.5
closed-fixed
nobody
5
2008-06-12
2008-06-12
No

If you put a toolbarbutton on a group box, 3d mold, with an image. Pressing on the image'button opens/closes the group box, and the button action is also launched, this is bad.
See:
<window title="Groupbox demo" border="normal">
<vbox>
Which kind of fruit do you want?
<groupbox id="gb" mold="3d" width="300px">
<caption image="/img/inet.png" label="fruits">
<toolbarbutton label="action" image="/img/inet.png">
<attribute name="onClick">
alert("Too many things happens now!!!");
</attribute>
</toolbarbutton>
</caption>
<radiogroup onCheck="fruit.value = self.selectedItem.label">
<radio label="Apple"/>
<radio label="Orange"/>
<radio label="Banana"/>
</radiogroup>
</groupbox>
<hbox>You have selected :<label id="fruit"/></hbox>
<checkbox label="Use 3d groupbox" checked="true"
onCheck='gb.mold=self.checked? "3d": "default"'/>
</vbox>
</window>

Discussion

  • Jumper Chen

    Jumper Chen - 2008-06-12

    Logged In: YES
    user_id=1684431
    Originator: NO

    Fixed since 6/12.

     
  • Jumper Chen

    Jumper Chen - 2008-06-12
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB