Eclipse RCP: Forms Section not expanded

Veröffentlicht von

Sometimes strange things happen in Eclipse. Like this one in WindowBuilder, the best tool for designing GUIs in Eclipse (via).

I created a Forms API section in the program, but when I executed the program, the section was not expanded, not content was shown:

image

In the properties editor, expanded was set to true. What to do??

The solution is simple, it appears that the order of commands in the source code has some importance. The setExpanded Method must be called after the setClient method of the Section.

image

After that, the section is expanded properly:

image

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert