Canvas-Designer icon indicating copy to clipboard operation
Canvas-Designer copied to clipboard

Change the toolbox position

Open alifyaqhi09 opened this issue 8 years ago • 5 comments

Hello,,,, i have a little problem.... How to change the toolbox position from left vertical to top horizontal???

Thank you sir,, this is a great projects :)

alifyaqhi09 avatar Aug 24 '16 12:08 alifyaqhi09

Modify widget.html => this line:

<section id="tool-box" class="tool-box" 
         style="height: auto!important; left: auto; width: 100%;">

muaz-khan avatar Aug 26 '16 03:08 muaz-khan

thanks for the answer sir... i'm try that code.... the toolbox is now top horizontal.. but, i'm cant drawing because the tollbox size cover the canvas

the toolbox height is over xD .. i'm trying to change the height but nothing happen hmm hmm..

alifyaqhi09 avatar Aug 26 '16 13:08 alifyaqhi09

Remove this line (dev/decorator.js#L157) and compile again using grunt or remove that line directly in the widget.js:

// toolBox.style.height = (innerHeight /* - toolBox.offsetTop - 77 */ ) + 'px';

muaz-khan avatar Aug 26 '16 14:08 muaz-khan

how to resize the canvas? i like to adjust the width of the canvas please help

ph4t0o0o0om avatar Sep 04 '18 08:09 ph4t0o0o0om

Hi Muaz, I'm trying the latest version from repo. I would like to view the tool-box with horizontal orientation. The below snippet from earlier suggestions didn't work. Any other suggestions?

Modify widget.html => this line: "section id="tool-box" class="tool-box" style="height: auto!important; left: auto; width: 100%;">"

krishisola avatar Jan 23 '19 18:01 krishisola