Hello,
with the new RC I find the positioning system very strange …
[code]dhx.ui( {
id:“newFilesWin”,
view:“window”,
width: 800,
height: 600,
position: “center”,
head:{
view:“toolbar”, type:“SubBar”,
elements:[
{ view:“button”, label:“Fenster schließen”, click:“close_modal”, inputWidth:200, align:“right” }
]
},
modal:true,
body: {
type:“wide”,
id:“searchLayout”,
cols:
[
{
rows:
[
{
view: “form”,
id: “searchForm”,
elements: [
{view:“text”, label:“Suchen”, labelPosition:“right”, inputWidth:200, width:300},
{view:“combo”, id: “search_in”, label: “Suchen in:”, value:“all”, yCount:“3”,
data:[
{id:“all”, value:“Allen Feldern”},
{id:“shorttext”, value:“Kurztext”},
{id:“description”, value:“Beschreibung”},
{id:“origfilename”, value:“Dateiname”},
{id:“filetype”, value:“Dateityp”},
{id:“resolution”, value:“Auflösung”},
{id:“colorspace”, value:“Farbraum”},
{id:“uid”, value:“ID”}
]
}
]
}
]
},
{
view: "label",
label: "Bitte warten ..."
}
]
}
});[/code]
This code give me the following result:
- The window should be a 800x600 Pixel window
- The first element in the form, “text” should have the label on the right side
- The second element in the form, doesn’t appear
Any idea?
Best regards
Horst