
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi,
At the present time i do not have immediate plans to provide this functionality on the skin level (or as any configurable setting). The current visuals of the title pane icons are consistent with other icon visuals (combo boxes, scroll bars, check marks etc.)
In addition, note that the simple .png icon approach that works for other look-and-feels is not acceptable for Substance. There are at least two major areas that require much finer control over the painting:
1. Support for high-DPI monitors and desktop-consistent font policies. The default font size for XP is 11, for Vista is 12 and for Mac is 13. All the visuals are scaled accordingly, including the title pane icons. In addition, running on monitors with >96DPI requires scaling the visuals as well.
2. Rollover
effects and dark / light skins. Some of the skins (such as Magma or Nebula) require animating the title pane icons from light to dark (and the other way) on rollover / press events.
If you absolutely require this functionality (heavy emphasis on "absolutely" and not "nice to have"), you can extend the SubstanceRootPaneUI delegate and override the createTitlePane method, returning your own implementation of the title pane component. There, you can have complete control over the title pane. Note that the SubstanceTitlePane class is internal and subject to be changed at any point in time.
Thanks
Kirill
----- Original Message ----
From: Gábor Pápai <
gabor.papai@...>
To:
users@...Sent: Thursday, July 10, 2008 12:29:17
AM
Subject: rfc: custom minimize-restore-close icons
Hello Kirill,
It would be nice, that custom minimize-restore-close icons can be used in title panes. I think it could be easily done by defining (overriding) minimize-restore-close renderer in the skins, and the default would be the current minimize-restore-close icon drawing. (Actually, I would use simple .png icons.)
Thanks,
Gábor Pápai