Hello Robert,
I think you have right. This is my code for two buttons that are made in html. One is for chose a file from local pc and one is for handle this file. The first is standart HTML for sure the second one is dojo button I think. But they both look the same.
<div class="attr" data-dojo-attach-point = "loadFile">
<input class="load" type="file" id="files" name="files[]" multiple data-dojo-attach-point = "files" data-dojo-attach-event="onchange:hadleFileSelect"/>
<button class = "loadbutt" id=loadAddAtt data-dojo-type = "dijit/form/Button" type = "button" data-dojo-attach-event="onclick:_onPublishClick" > Nahrát doplňující přílohu </button>
</div>
And here is a code for my programmatically made button:
<div class="tundra" id="dropDownButtonContainer"></div>
menu = new DropDownMenu({ style: "display: none;"});
var button = new DropDownButton({
label: "Dostupné stavy",
name: "programmatic",
dropDown: menu,
id: "progButton"
})
button.startup();
dom.byId("dropDownButtonContainer").appendChild(button.domNode);
},
and this one look like this
But in my css I have only imported tundra css. I dont know if I need to do something more in this file...