This becomes very important if you want to hide tabs in a tab navigator but you don't want to remove them from the interface completely. In my situation I wanted to hide tabs in a tab navigator based on what the user had selected in a data grid. If the user selected another row in the grid I may need to show a tab that I had previously hidden.
tabNav.getTabAt(1).visible = false;
Now to elaborate on Venkatesh's post...
To remove the tab stop, also disable it: tabNav.getTabAt(1).enabled = false;
Now if you are hiding a tab before another tab (that is not hidden) there will be an empty gap where your tab should be. To fix this: tabNav.getTabAt(1).includeInLayout = false;
And one final thing. If you're hiding your default tab (i.e. tab index 0) you will also need to set the selected index of the tabNav or else you will still see the contents of the defa…
So right now the design trends are very simplistic, lots of white space, big buttons, flat colors. Think minimalist. Think flat.
Does this remind anyone else of the 90s?
I am sure I've been at this too long, and I guess my age is now showing. Everything often comes full circle, and design (in any form) is no exception... look at fashion design, it's like someone went through my elementary school clothing and tried to make it seem new again.
Of course there are new things thrown in there. Infinite scrolling is really hitting the main stream, as is parallax scrolling (I TOTALLY was designing a website for my singer friend years ago with this concept in mind... I never did finish the site tho - I should really go back and look at that some day. Maybe I was a bit ahead of the game there... of course it was built in Flex, a dying technology.)
Why these trends? Why this movement? In a word, mobile. I don't think it's any secret or any great epiphany that mobile is steering w…
I always found it annoying that when first creating a document InDesign it defaults the size in Picas. Call me unworthy, but I don't work in Picas, I work in Inches (yes I am Canadian, whatever metric system). So every time I would create a document I would go to Edit - Preferences - Units & Increments and change the Horizontal and Vertical Ruler Units to Inches. One day it occurred to me, shouldn't there be a way to set this once and have it the default so that I don't have to do this EVERY DAMN TIME? (Why it took me so long to think of this, I don't know. Don't judge.)
After just clicking around InDesign for a couple minutes I found no immediate way to do this, so I turned to my old friend Google.