Update README.md

This commit is contained in:
javalang 2017-09-26 10:40:36 +02:00 committed by GitHub
parent a690a7fb92
commit 7dc8856978

View File

@ -13,7 +13,14 @@ Note:
* For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example: * For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example:
`var myProps={color:#ffffff,colorbg:#000000}; `var myProps={color:#ffffff,colorbg:#000000};
datgui.addBgColor(myProps,color);` datgui.addBgColor(myProps,color);`
* Changing the height of all ColorControllers can be done by changing the CSS .dg.c item. * Changing the height of all ColorControllers can be done by adding the height field in the CSS .dg.c tag: `
.c {
float: left;
width: 60%;
height:125px; /*JLA*/
position: relative;
}
`
# dat.GUI # dat.GUI