Questions tagged [tabs]

A user interface pattern that allows for the display of multiple pages or elements with a navigation reference above, below, or to the side of the content. On clicking the navigation reference, one element is made visible while others are toggled off. Often, the navigation reference is color-coded in a manner to indicate that it is currently visible.

A user interface pattern that allows for the display of multiple pages or elements with a navigation reference above, below, or to the side of the content. On clicking the navigation reference, one element is made visible while others are toggled off. Often, the navigation reference is color-coded in a manner to indicate that it is currently visible.

This can also refers to the character tab.
See this GitHub study about tab versus space.

14311 questions
79
votes
3 answers

iTerm tab switching order

A weird issue that comes up every once in a while when I have a lot of terminal tabs open and am switching between them via the keyboard is that the tabs get out of order. Normally iTerm will activate/focus the next tab to the right or the left,…
dcmbrown
  • 1,049
  • 9
  • 15
75
votes
9 answers

Change tab bar tint color on iOS 7 and later

Is there a way to change the tint of a tab bar on iOS 7 from the default white with blue icons to another color tint with different color buttons?
Jake Chasan
  • 6,290
  • 9
  • 44
  • 90
75
votes
18 answers

Android ViewPager get the current View

I have a ViewPager, and I'd like to get the current selected and visible view, not a position. getChildAt(getCurrentItem) returns wrong View This works not all the time. Sometimes returns null, sometimes just returns wrong View. @Override public…
lacas
  • 13,928
  • 30
  • 109
  • 183
73
votes
10 answers

how to give a border to bootstrap tab contents

I'm using bootstrap tabs and it works perfectly. I'm trying to figure out if there is a way to use bootstrap to give a border to the contents of the tabs that is connected to the border of the pill so it will look like one box. I tried doing this…
user1404536
  • 1,101
  • 3
  • 10
  • 17
71
votes
2 answers

Use Tab with new ToolBar (AppCompat v7-21)

I was using SupportActionBar with tabs and a custom ActionBar theme (created with http://jgilfelt.github.io/android-actionbarstylegenerator/), that show the tabs only when the user expands the search view. public boolean…
71
votes
2 answers

Eclipse tabs repositionning

I have been using Indigo for a while, and now trying Juno There is a sligth bothering difference: On Indigo When you had 10 tabs opened A | B | C | D | J | H | G ....(F | T | S) and currently on B when you selected the file shown in tab T again,…
user1125394
70
votes
1 answer

What do smart tabs in WebStorm/PHPStorm do?

I'm confused as to what smart tabs do in general preferences. It says that: Fine alignment to a necessary column is done only via spaces... If this check box is not selected, then spaces are used for alignment if necessary... Doesn't that mean…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
69
votes
5 answers

How to capture Ctrl + Tab and Ctrl + Shift + Tab in WPF?

What would be some sample code that will trap the Ctrl+Tab and Ctrl+Shift+Tab for a WPF application? We have created KeyDown events and also tried adding command bindings with input gestures, but we were never able to trap these two shortcuts.
FarrEver
  • 2,951
  • 5
  • 29
  • 24
69
votes
3 answers

Find Active Tab using jQuery and Twitter Bootstrap

I've been racking my brain for a little while now, and I would like to know if anyone out there knows how I can find the active tab, using jQuery and Twitter's Bootstrap. Pulling the hash from the URL is not my first option, I'm using the…
William Orazi
  • 1,694
  • 6
  • 23
  • 36
67
votes
7 answers

Auto-convert tab to 4 spaces in TextWrangler?

Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab in the vimrc, but I don't know how to set it in TW besides clicking "Detab" when I'm done editing the document. Thanks, Kevin
Kevin Burke
  • 61,194
  • 76
  • 188
  • 305
67
votes
3 answers

Switching to a particular tab in VIM

I was trying to switch from a tab to another tab (which may not be adjacent to the previous tab) in VIM. Is there any shortcut for that, like we have Ctrl-p/Ctrl-n for switching to adjacent tabs? Also, I was trying to write a key mapping which will…
Sumit
  • 2,242
  • 4
  • 25
  • 43
66
votes
6 answers

VSCode insert tab character manually

When using VSCode, most of my files are set to be indented using spaces. However I sometimes wish to insert a literal tab. When I was using vim I'd use +v but that doesn't work with VSCode. I've been searching and searching and cannot…
Christopher Causer
  • 1,354
  • 1
  • 11
  • 13
64
votes
12 answers

Any way to identify browser tab in JavaScript?

I need to be able to identify what tab I am in within the browser. Isn't there some bit of information I can get from the browser to identify the tab? I don't need to know anything about any other tabs, I just need an id for the tab I am in. It…
user1588877
  • 775
  • 1
  • 5
  • 9
60
votes
5 answers

JavaFX TabPane: How to set the selected tab

I have a Java Desktop Application with JavaFX 2 in it and in my FX I've got a TabPane. I want to set the default tab. In other words I want to set a tab as selected. I found that there are multiple ways to find out which tab is selected and I found…
Dorothy
  • 2,842
  • 10
  • 33
  • 46
58
votes
6 answers

Changing editor tab width in eclipse 3.5

I am trying to adjust the width of tabs from Window -> Preferences -> General -> Editors -> Text Editors where there is a field for "Display Tab Width". But no matter what I enter there the size of indentations when I start a newline in a Java file…
Neil
  • 7,042
  • 9
  • 43
  • 78