StretchableLayoutManager - resizing problem


#1

Hello,

I have inside a StretchableLayoutManager:

  1. Component A
  2. StretchableLayoutResizerBar
  3. Component B

The final user should be capable of resize component A with StretchableLayoutResizerBar. But it shouldn’t be resized automaticaly when I resize the StretchableLayoutManager (the main window). How could I do this?

Thanks :slight_smile:


#2

I suppose you could set the first item’s minimum and maximum size to be the same, to stop it changing. But actually, I can’t really remember whether the stretchablelayout stuff is designed to work like that. Haven’t used it for a while…


#3

Nope, I tried that before, I think I’ll have to do my own class here. Thanks for answer :slight_smile: