Hi there,
I'm trying to figure out how to make a dialog title visible with the Graphite skin and can't figure it out.
See this example:
http://www.smartclient.com/?skin=Graphite#databoundFetch
Use this code below and click "Fetch All" and a prompt will display with title set but the title is obscured by the dark background. How do I style the title so it is visible? I tried titleStyle and that didn't work so thought it quicker to ask.
I'm trying to figure out how to make a dialog title visible with the Graphite skin and can't figure it out.
See this example:
http://www.smartclient.com/?skin=Graphite#databoundFetch
Use this code below and click "Fetch All" and a prompt will display with title set but the title is obscured by the dark background. How do I style the title so it is visible? I tried titleStyle and that didn't work so thought it quicker to ask.
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true,
dataSource: worldDS,
// display a subset of fields from the datasource
fields:[
{name:"countryCode"},
{name:"countryName"},
{name:"capital"},
{name:"continent"}
],
sortFieldNum: 1, // sort by countryName
dataPageSize: 50,
drawAheadRatio: 4
})
isc.IButton.create({
left:0, top:240, width:160,
title:"Fetch Code: US",
click:"countryList.fetchData({countryCode:'US'})"
})
isc.IButton.create({
left:170, top:240, width:160,
title:"Fetch Continent: Europe",
click:"countryList.fetchData({continent:'Europe'})"
})
isc.IButton.create({
left:340, top:240, width:160,
title:"Fetch All",
click:"isc.showPrompt(\"fetching\",{title:\"CANNOT SEE THIS TITLE\", titleStyle:\'color:white\'});countryList.fetchData();isc.Timer.setTimeout(\"isc.clearPrompt()\",4000)"
})
Comment