I am trying to use ResizableBorderComponent object to handle resizing of my_Component. The problem is that the resizing doesn’t work. Actually, the breakpoints in ResizableBorderComponent::mouseDown() and .mouseDragg() etc, don’t even get hit when I click/move the mouse
over the edge of my_Component().
Below are the relevant pieces of my code.
class my_Component : public Component,
my_Component::my_Component(int x, int y, int X, int Y):
border(0) ,borderThickness(10) // it’s pretty thick
addChildComponent (border =
border->setBorderThickness (BorderSize (borderThickness));
Also, there are no other components on top of the border or on my_Component.
I would kindly appreciate any suggestions.
I have an equivalent code using of ResizableWindow, but I really
need to find out why the ResizableBorderComponent doesn’t work.