If you are experiencing an issue please mention the full platform your
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator latest
Device PC, IOS, Android
I have a simple 2 element Tabs component and set the Tabs UIID to "mpiTabMetal"
which has a foreground color for the unselected & selected states.
ManageTimeSheetsTab = new Tabs(Component.TOP);
ManageTimeSheetsTab.setTabUIID("mpiTabMetal");
ManageTimeSheetsTab.setSelectedIndex(0, true);
The problem is tab index 0 is by default set initially in the Tabs class.
However the unselected state is being displayed when in fact the index is
selected.
If I setSelectedIndex(1), both index tabs display the correct states
Any subsequent selections display correctly. Only the initial instantiation
does the problem surface.
Attached Image TabsInitialStateIndex_0_isSet.PNG shows the 2 tabs as
"unselected"
Attached Image TabsInitialStateIndex_1_isSet.PNG shows the 2 tabs as
"unselected"
Attached Image UnselectedThemeUIID.PNG shows the Unselected state.
Attached Image SelectedThemeUIID.PNG shows the Selected state.
Thanks in advance
Regards.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/d576bc7a-7835-47c9-bc1a-dc644566ccad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.