Login Register

size

Button with showLabel="false" has first not the right size

I have some buttons which look like this:

<button dojoType="dijit.form.Button" onClick='save()' iconClass="saveIcon" showLabel="false">
   <span><b>Rich</b><i> Text</i> Test!</span>
</button>

I load this html snippet later, not with loading the site. I parse the node with dojo.parser.parse(node);
My problem is, that the button first has another size because of the span-tag. It takes a while until the button gets the correct size.
My iconClass:


.saveIcon {
background-image: url(icons/save.gif);
background-repeat: no-repeat;

Size modified on the grid when Grid.update () called

Hi,
First of all, all my apologizes for my english mistakes.

I have a problem using dojox.grid. I have a button that call an xhrGet to retrieve a Json file on the server. This xhrGet call a function, this one :

function createGrid (sResponse, ioArgs) {
            var grid = dijit.byId("gridu");
            var store = new dojo.data.ItemFileReadStore({data: sResponse });
            var gridModel = new dojox.grid.data.DojoData(null, store, {query:{date: '*'}, clientSort:true});
            grid.setModel(gridModel);
            grid.refresh();
        }

setting DateTextBox and TimeTextBox size

Hi everyone!

First of all, my greetings for this incredible toolkit, I just can imagine the hard work it has required...
Going straight to the point, I would like to change (exactly, to decrease) the size of a DateTextBox and a TimeTextBox (in other words, I need to set the width of the field to a shorter value).
On the Dojo book, I noticed the size attribute. I tried to set the size this way:
var startDate = new dijit.form.DateTextBox({ id: 'startDate',
constraints: {datePattern:'dd/MM/yyyy'},
required: 'true' },dojo.byId('startDatePickerDiv')

set initial dimension of contentPane on SplitPane

Hi at all
i have one problem on setting the initial size (width) of the AccordionPane who reside on a split pane:

I have this code:

CSS

html, body { height: 100%; width: 100%; margin: 0; padding: 0; }
 #left { width: 100px }

HTML

Syndicate content