We created our own docking area layout as described in the wiki.
Our layout has a top, bottom and statusbar area amongst others. How can we set the statusbar area at a fixed size so that the divider in the split pane is not resizable?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently fixed sizes are not supported and I'm not sure if this is really needed inside a DockingPane. Usually (eg. see NetBeans or Eclipse) things like the statusbar area but also the menu bar and toolbar area are outside the docking section.
At one point I think Drombler FX will have to support a mechanism for developers to provide a custom main scene as not all applications nowadays have the classic 'menubar, toolbar, docking section, statusbar' layout but are e.g. screen/ flow based.
For now as a work-around you could try with Fragment Bundle of the drombler-fx-core-application bundle to replace the ApplicationPane.fxml (sourceforge.net)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We created our own docking area layout as described in the wiki.
Our layout has a top, bottom and statusbar area amongst others. How can we set the statusbar area at a fixed size so that the divider in the split pane is not resizable?
Currently fixed sizes are not supported and I'm not sure if this is really needed inside a DockingPane. Usually (eg. see NetBeans or Eclipse) things like the statusbar area but also the menu bar and toolbar area are outside the docking section.
At one point I think Drombler FX will have to support a mechanism for developers to provide a custom main scene as not all applications nowadays have the classic 'menubar, toolbar, docking section, statusbar' layout but are e.g. screen/ flow based.
For now as a work-around you could try with Fragment Bundle of the drombler-fx-core-application bundle to replace the ApplicationPane.fxml (sourceforge.net)
Eg. try (untested):
~~~~~xml
<build>
...
<plugins>
...
<plugin>
<groupid>org.apache.felix</groupid>
<artifactid>maven-bundle-plugin</artifactid>
<extensions>true</extensions>
<configuration>
<instructions>
<fragment-host>org.drombler.fx.drombler-fx-core-application;bundle-version=${drombler.fx.osgi.version.clean}</fragment-host>
</instructions>
<versions>
<drombler.fx.osgi.version.clean>${drombler-fx.version}</drombler.fx.osgi.version.clean>
</versions>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>cleanVersions</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
...
</build>
~~~~~
And provide an ApplicationPane.fxml at /src/main/resources/org/drombler/fx/core/application/impl
Last edit: Puce 2014-10-29