Sizing I found and it is easy: create a CSS class and hook it to the id. For example:
Dynamic style additions (will move into a .css file when done...):
// ...until CSS is settled this will go into (a) *.css* file
function supplementCSS() {
= '<style type="text/css">'
+ '#imageItemList { width:620px; }'
// ...more style definitions
+ '</style>'
;
$(css).appendTo("head");
}
Popup code that uses this style:
Espruino.Core.App.openPopup({
position: "relative",
title: "Assign item to clicked image position",
id: "imageItemList",
contents: html
});
@Gordon, what are - if there are - the specific guide lines how to name classes for plug-ins? ...multi level class definitions? ...what are the reserved prefixes?
it was part of trying to make the IDE more simple and friendly to new users.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sizing I found and it is easy: create a CSS class and hook it to the id. For example:
Dynamic style additions (will move into a .css file when done...):
Popup code that uses this style:
@Gordon, what are - if there are - the specific guide lines how to name classes for plug-ins? ...multi level class definitions? ...what are the reserved prefixes?
Well understood and supported.