cssflex-generator icon indicating copy to clipboard operation
cssflex-generator copied to clipboard

selected div height and width change

Open fastAsF opened this issue 6 years ago • 1 comments

Hi @dillionmegida ! This is a pr for the idea called "Individual resizing of the elements instead of a general size.". It is WIP, currently you can select a div by click on it and deselect if you click that div again. If you select a div you will see his with, height and margin on the controls component. You can change the values for the selected div. Maybe in the next commit I will hide the width, height controllers and only show if there is a selected div.

There is a lot of bug now and I will solve them later, I just want some feedback if you think this is a good solution. Also code generation not working right now, but I will fix it. If you have a better idea for this issue please contact me!

fastAsF avatar Oct 10 '19 17:10 fastAsF

Thank you so much for your contributions. Your idea is nice. But take note, the two fields for specifying general width and height would be removed. There'd only be a default width and height when page is refreshed. Also, please read through the code generation codes thoroughly.

Your contributions are highly apprecited.

dillionmegida avatar Oct 10 '19 22:10 dillionmegida