How to set min window width?


#1

Is there a way to prevent an atom window from being less then x width? I am working on a plugin that will require a min amount of space. I have made a few attempts to reset the width to the min amount if the user resizes it too small but this results in the window flashing back and forth… not exactly a smooth UX…


#2

You can probably style your pane-item or the view that you’re using with CSS min-width or create a responsive stylesheet for different width sizes.