Adaptation of interface by adding a resize button

Adding a resize button but still without the proper event because it is
linked to the calculation method which is remaining to develop. adding
all events after developing the size calculation method