Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#5944 closed enhancement (duplicate)

Feature request: fixed width for dijit.Button

Reported by: guest Owned by:
Priority: high Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

I wanted to create an interface that consisted of a left-sidebar with vertically stacked buttons. In order to make this visually appealing, all buttons would have to be a fixed width.

I tried setting style="width: 70%" on the DOM node that is replaced, but this only expands the node that contains what you visualy see as the button. It'd be great if the button would take a "width" attribute which is attached to the node we visibly see as the button.

I'll come up with something, either a trick to resize it or think up a new interface. But I just thought this would be a nice feature to have!

Thanks! David Snopek.

Change History (3)

comment:1 Changed 12 years ago by guest

Here's one thing I've done that works:

dojo.query("button", parentNode).style("width", "200px");

But my feature request would still be nice! ;-)

comment:2 Changed 12 years ago by bill

Resolution: duplicate
Status: newclosed

Yup, this will be covered by #5211

comment:3 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.