SmartClient Version: v11.0p_2016-04-26/EVAL Development Only (expires 2016.06.25_09.26.45) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Chrome on OSX
Hello, please modify the #columnOrder sample like this:
You'll obtain a grid like this:
But if you resize (shrink) the browser window, you'll get this:
the label text isn't centered and its child isn't visible.
If I don't add the child to the Label, the label text remains centered.
Is it a bug or am I misusing something?
Chrome on OSX
Hello, please modify the #columnOrder sample like this:
Code:
isc.ListGrid.create({ ID: "countryList", width:"100%", height:224, alternateRecordStyles:true, data: countryData, gridComponents:[ isc.Label.create({ contents:"My Label", align: "center", height:30, children:[ isc.IButton.create({ title:"My Button", snapTo: "R", snapOffsetLeft: -5, }) ] }), "header", "body"], fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"}, {name:"capital", title:"Capital", showIf:"false"}, {name:"continent", title:"Continent"} ], canReorderFields: true })
But if you resize (shrink) the browser window, you'll get this:
the label text isn't centered and its child isn't visible.
If I don't add the child to the Label, the label text remains centered.
Is it a bug or am I misusing something?
Comment