03-09-2011 09:54 AM
Hi!
I was just wondering if there is a way to simply enable dark QNX ui skin in your application, without setting each components SkinAssets one-by-one?
Solved! Go to Solution.
03-09-2011 10:21 AM
import qnx.ui.theme.ThemeGlobals; ... ThemeGlobals.currentTheme = ThemeGlobals.BLACK;
Is suppose to do it, but not all the QNX controls seem to pick it up.
03-09-2011 12:49 PM - edited 03-09-2011 12:58 PM
Thanks for quick reply! It seems like at least LabelButtons and SegmentedControls won't turn into dark theme automatically. I'll do some testing..
Edit: Well SegmentedControls can be manually styled with
mySegment.setBackgroundSkin(SegmentedControlSkinBl
So no problem here. And label buttons can be replaced with normal buttons too.