PDA

View Full Version : moving toggle button to the left



funz51
7 Feb 2010, 12:21 PM
I have setup a panel and included the standard expand/collapse btn. I need the btn on the left of the panel, not right.
is there an easy way to do this?

thanks in advance!

Jon

7 Feb 2010, 12:29 PM
From a UI design perspective, why are you looking to break standard practice, where collapse/expand is on the upper right?

funz51
9 Feb 2010, 2:58 PM
yes, it is bucking the standard. it is hidden partially inside a div wrapper that scrolls left to right. just the way we need to do it. is there a way? add a css entry?

Justin.Parmar
27 Mar 2010, 2:35 AM
if u want to do it in anyway,
create a manual 'tool' and set its CSS
tools :{id:'minBtn'}
then set its css

.x-tool-minBtn {

background-image: url(images/minBtn.ico); //put a minimize image here
float:left;
position:absolute;
left:2;
border:3px;
}