Login Register

style

Button Padding (Left/Right) Difference Between IE(7) and FF(2 or 3)

Hello All,

I have been strugling with a really annoying problem and figured I'd throw it out to the dojo community for some advice.

Currently I have a a set of buttons to control page content. They work fine and I have had moderate success adjusting their width BUT I cannot get IE and FF to have the exact same width buttons.

<button dojoType='dijit.form.Button'><div style='width: 6em;'>Submit</div></button>

How to change the color of single options of a FilteringSelect

I'm a newbee to dojo and build up a little app...
but now I'm on a point where i can't find help.
I had an PHP-Array and built up a FilteringSelect with this. The Point is to colorize single options in red.

here is the code:

...
$dozentenliste = get_dozentenliste($semid, $datum, $kolleg);
?>

Is it possible to have a narrow TextBox?

The design of one of our applications requires that a certain text box be only wide enough to display a few digits at a time (30px).

There's no problem actually setting the width to 30px but when a user types in the text box, they can only ever see one digit at a time. It seems the rest of the digits are being bumped out of view.

Themes and styling

Hello,

First of all, these are my first words around here, so I would like to say GREAT JOB to everyone involved in Dojo development. I'm new to Dojo, just found out about it, and I'm truly impressed!! NOBODY has given better quality web frontend even in commercial projects. keep it up!! ;)

Now, as a total dojo newbie, I have a few questions about the themes and styling of the widgets.

change row style on onRowClick event

hello every body,

i would like to change the style of a row in a grid when the use clicks on the row.
i tried using the onStyleRow event, but it changes the style of the row as soon as the mouse pointer moves out of the row and not when i click on the row.

any ideas??

thankx...

Changing ComboBox Options Style/Font

For a standard HTML select I can do this:

style="font-family:Courier New; font-size:14pt;"

But for the Dijit ComboBox, it has no effect on the options; instead, it only
affects the style of the type-ahead area of the combo.

Any suggestions?

Thanks!

programmatically change widget style property?

I need to be able to programmatically change a widget's style property (backgroundColor, borderWidth, etc.).

I know how to change the DOM node's style programmatically, but not the widget itself.

I could post some sample code here if it would help... just let me know.

I have tried using attributeMap, dojo.styles(), and simply setting this.style directly and nothing so far has worked. Any ideas?

ComboBox created by script don't preserve style and class attributes

Hi,

i observed a different behavior in creating a combobox by using

and

with

var options = new dojo.data.ItemFileWriteStore({data: {identifier: 'name', items:[]}});
options.newItem({name: 'foo'});
options.newItem({name: 'bar'});

var comboBox = new dijit.form.ComboBox(
        {store: options},
        dojo.byId("mycombobox")
);

in the body onload script.

Always squared DIV in container DIV: dojo.style dimensions error in IE7

I've a container DIV that has its dimensions set in percentages:

#container { position:absolute; top:10%; left:20%; width:60%; height:80%; border:1px dashed #bbb; }

Random error on getComputedStyle

Hi,

Dojo: 1.0.2, (custom build)

In my page I use a TabContainer, which loads every tab's content trough XHR. If I'm changeing the active tab while it is loading in random cases I get an error in IE and FF.
IE: currentStyle is null or not an object
FF:

Object cannot be created in this context" code: "9
_doIt("GET", Object chain=[0] id=5 fired=0 paused=0 results=[2])dojo.js.uncompres... (line 6626)
xhrGet(Object preventCache=true)dojo.js.uncompres... (line 6683)
_downloadExternalContent()dojo4caf.js.uncom... (line 5863)
_loadCheck(undefined)dojo4caf.js.uncom... (line 5841)

Syndicate content