Opened 13 years ago

Last modified 13 years ago

#6768 closed defect

BorderContainer: style gap between panes for splitter=false — at Version 1

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: Dijit - LnF Version: 1.1.0
Keywords: Cc: nonken
Blocked By: Blocking:

Description (last modified by bill)

When splitter=true

<div dojoType="dijit.layout.ContentPane" region="top" .. splitter="true">

...BorderContainer leaves a gap between the panes which can be grabbed and dragged in order to resize the pane:

For styling reasons (see #6438 and #6764), need to support (an optional) similar gap even when pane's size is not adjustable (ie, when splitter="false"). Actually, a gap should be the default, to match the padding that nonken will be adding to BorderContainer.

But of course don't display the thumb icon if pane isn't resizable.

As usual w/dijit everything needs to be controlled via CSS rules but not sure exactly what the best way to do this is... could have a .dijitNonMovableSplitter class or perhaps just leverage the padding setting from the BorderContainer's DOM node.

Change History (3)

Changed 13 years ago by bill

Attachment: gap.png added

Changed 13 years ago by bill

Attachment: thumb.png added

comment:1 Changed 13 years ago by bill

Description: modified (diff)
Note: See TracTickets for help on using tickets.