Dfgui not updated, in fact, some regret.
It focuses on a small examples/containers/tabcontainer.unity that is, TAB adopted.
Features are very easy. is to toggle tag content changes.
Just look at the structure:
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbglodw96aglsaw5nmdewmq==/font/5a6l5l2t/fontsize/400/fill/ I0jbqkfcma==/dissolve/70/gravity/center ">
Ok,dftabstrip is the tag Dftabcontainer is the content.
The connection between them was quoted in the Dftabstrip Dftabcontainer
This creates a relationship between the two parent boxes.
Subclass tab in Dftabstrip set up its own group
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbglodw96aglsaw5nmdewmq==/font/5a6l5l2t/fontsize/400/fill/ I0jbqkfcma==/dissolve/70/gravity/center ">
It means that everyone's fathers are dftabstrip.
But the brothers also need to arrange the order, or who in front? Who's after?
Use the Z-order.
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbglodw96aglsaw5nmdewmq==/font/5a6l5l2t/fontsize/400/fill/ I0jbqkfcma==/dissolve/70/gravity/center ">
The larger the z-order, the more backward the sort.
Ok.
So far, tab side is ready.
How does the page know the corresponding tab?
and by Z-order.
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbglodw96aglsaw5nmdewmq==/font/5a6l5l2t/fontsize/400/fill/ I0jbqkfcma==/dissolve/70/gravity/center ">
In this way, people will be corresponding to their own tab.
The official sample is a bit messy. The effect on the parameters changes only marginally.
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
dfgui--Label Exchange Tabstrip