I have two questions
- How is it possible to change a border around dockables. I need 1-pixel width thin border.
- How is it possible to to decrease width of gaps between dockables.
See also image attached.
Thank you.
I have two questions
See also image attached.
Thank you.
I’m currently at work, so my answer will be brief:
Borders are shown by a DockableDisplayer, a DockableDisplayer is configured by a DisplayerFactory. The DisplayerFactory directly depends on the current DockTheme. So you would need to subclass (or to write an additional layer around) an existing theme to replace the factory. You could have a look at FlatTheme and FlatDisplayerFactory for an example that changes the borders.
Use SplitDockStation.setDividerSize. If you are using the Common framework you might first need to call something like CContentArea.getCenter() to get to the SplitDockStation.