This doesn't work
panel1.layout: layout [
offset: 0x0
yuml-image: image img
]
panel2.layout: layout [
offset: 0x0
area (yuml-command0) yellow
]
panelbuttons.layout: layout [
button "Save" [request-save]
button "Refresh" [request-refresh]
button "Quit" [quit]
]
Main: layout [
panel1: box 640x300 white
return
panelbuttons: box 640x20
return
panel2: box 640x180 yellow
]
panel1/pane: panel1.layout
panel2/pane: panel2.layout
panelbuttons/pane: panelbuttons.layout
view/title/options center-face Main "askuml.com" [no-border]
I just wanted the equivalent of this:
Main: layout [
offset: 0x0
yuml-image: image img
return
across
button "Save" [request-save]
button "Refresh" [request-refresh]
button "Quit" [quit]
return
area (yuml-command0) yellow
]
Also why do I have a border whereas I asked offset 0x0 see the ugly grey border below:
Update: now I have this ugly window
see http://askuml.com/blog/yuml-use-case-desktop-client/
I updated the code now I can't see the (even your :)) buttons: