This is sideMenu with 3 Links.But They have a default spacing between them. how can i remove those spacing??
my code also there.
Hello,
There are a few alternatives you can try.
- Not using 100% height on the layout.
layout.setDefaultComponentAlignment(TOP_LEFT);
- Add a label at the end, and set its expand ratio to 1.
What if you remove the line where you set the height of sideMenu to 100%?