Class UIUtils
java.lang.Object
com.inductiveautomation.ignition.designer.util.UIUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
adjustSizeForAllComponents
(JPanel panel) This will adjust the size of all components in a panel (except for JLabels, and JCheckBoxes) to have a minimum width of 10px.
-
Method Details
-
adjustSizeForAllComponents
This will adjust the size of all components in a panel (except for JLabels, and JCheckBoxes) to have a minimum width of 10px.
This method is useful when a panel sits inside a JScrollPane and you want the most minimal width for the panel so that a horizontal scrollbar is only shown when absolutely necessary.
-