In my app, I use common, There is a DefaultSingleCDockable which stays minimized.
When a window is minimized, the icon, text and button is visible.
We can set it to show text and icon only. But i don’t know how.
Can you please post a sample to show how to do that?
I guess through CPreferenceModel. But not able to figure out how to use that.
control.putProperty( FlapDockStation.BUTTON_CONTENT, FlapDockStation.ButtonContent.ICON_AND_TEXT_ONLY ) );```
The CPreferenceModel is intended for the user, there is a special dialog which shows the preference model. On this dialog the user can select the options (how the minimized dockables are presented is one of many options). There is some example code in the [guide to Common](http://dock.javaforge.com/dockingFrames_v1.0.7/common.pdf), chapter 7.5 on page 25.
It seems to be working now. It is strange though, I had set the property just after creating the CControl that was not working, but then after your last post I moved it down after creating the working area and it started working. Not sure why.
Also, there is no any documentation for the list of properties that can be set.
If there is can you point me?