Skip to main content



      Home
Home » Eclipse Projects » WindowBuilder » Gridbaglayout unwanted columnWidths, rowHeights, etc...(Unwanted code generated for GridBagLayout)
Gridbaglayout unwanted columnWidths, rowHeights, etc... [message #1759995] Fri, 21 April 2017 00:40
Eclipse UserFriend
I've noticed that when I use a GridBagLayout in a JPanel, WindowBuilder is constantly generating code like:
		GridBagLayout gbl_contentPanel = new GridBagLayout();
		gbl_contentPanel.columnWidths = new int[]{0, 0, 0};
		gbl_contentPanel.rowHeights = new int[]{0, 0};
		gbl_contentPanel.columnWeights = new double[]{0.0, 1.0, Double.MIN_VALUE};
		gbl_contentPanel.rowWeights = new double[]{0.0, Double.MIN_VALUE};


By having these lines, it pretty much completely breaks the power of GridBagLayout, and many of the cell specific settings will NOT work correctly.

Is there any way to prevent it from generating those lines?
Previous Topic:WB not rendering/painting in IDE
Next Topic:WindowBuilder offline installation - Eclipse Neon
Goto Forum:
  


Current Time: Sun Jun 15 05:58:37 EDT 2025

Powered by FUDForum. Page generated in 0.03558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top