Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 04:40
John Lussmyer is currently offline John LussmyerFriend
Messages: 99
Registered: December 2010
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 Dec 08 16:10:15 GMT 2019

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

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

Back to the top