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
118
votes
11 answers

Replace whitespaces with tabs in linux

How do I replace whitespaces with tabs in linux in a given text file?
biznez
  • 3,911
  • 11
  • 33
  • 37
116
votes
20 answers

jQuery UI Tabs - How to Get Currently Selected Tab Index

I know this specific question has been asked before, but I am not getting any results using the bind() event on the jQuery UI Tabs plugin. I just need the index of the newly selected tab to perform an action when the tab is clicked. bind() allows…
Mark Struzinski
  • 32,945
  • 35
  • 107
  • 137
111
votes
11 answers

Programmatically open new pages on Tabs

I'm trying to "force" Safari or IE7 to open a new page using a new tab. Programmatically I mean something like: window.open('page.html','newtaborsomething');
Ricardo Vega
  • 1,945
  • 2
  • 13
  • 12
102
votes
16 answers

IllegalStateException: Fragment already added in the tabhost fragment

FATAL EXCEPTION: main Process: com.example.loan, PID: 24169 java.lang.IllegalStateException: Fragment already added: FormFragment{428f10c8 #1 id=0x7f050055 form} at…
user782104
  • 13,233
  • 55
  • 172
  • 312
100
votes
4 answers

Chrome extension: How to open a link in new tab?

In my Stackoverflow folder, I have stackoverflow.ico and 2 bellow files. When importing it to Chrome, it shows the icon in address bar, but when I click on it, Chrome doesn't open any new tab. What am I doing wrong? manifest.json { "name":…
NoName
  • 7,940
  • 13
  • 56
  • 108
97
votes
9 answers

How to place ionic tabs at the bottom of the screen?

I created a simple ionic-tabs that shows my icons at the top of the screen. I tried to wrap it in a ionic-footer-bar in order to have it placed at the bottom of the screen with no success. The tabs disappear when I do that. How should I accomplish…
Italo Maia
  • 1,956
  • 3
  • 18
  • 31
94
votes
9 answers

How can I align text in columns using Console.WriteLine?

I have a sort of column display, but the end two column's seem to not be aligning correctly. This is the code I have at the moment: Console.WriteLine("Customer name " + "sales " + "fee to be paid " + "70% value "…
Stephen Smith
  • 953
  • 1
  • 7
  • 6
91
votes
6 answers

TabLayout Tab Title text in Lower Case

I have used android.support.design.widget.TabLayout in my application with Min SDK 15. By default it takes Tab title in capitals but I want it to make in "textCapsWord". I tried adding Style as suggested here and here. But unfortunate both doesn't…
90
votes
7 answers

Make all opened document tabs visible

I would like to see all files or documents I've opened in Visual Studio. I do not want them to be auto hidden or hidden on overflow. How can I achieve it?
Dung
  • 19,199
  • 9
  • 59
  • 54
90
votes
6 answers

Redirect a state to default substate with UI-Router in AngularJS

I'm creating a tab based page which shows some data. I'm using UI-Router in AngularJs to register states. My aim is to have one default tab open on page load. Each tab have sub tabs, and I would like to have a default sub tab open when changing…
Leo
  • 5,363
  • 5
  • 27
  • 30
88
votes
6 answers

Undo Close Tab in Vim

I close a tab in vim and immediately realize I need to re-open it again for something. Is there a way to undo close tab in Vim 7.2?
Amjith
  • 22,626
  • 14
  • 43
  • 38
88
votes
3 answers

setting tabwidth to 4 in git show / git diff

At work we are several developers and don't have a code style guide, and some developers indent with tabs, and some others with 4 spaces (luckily noone of the indent with spaces people uses different than 4 spaces). In general this is no (big)…
Carlos Campderrós
  • 22,354
  • 11
  • 51
  • 57
86
votes
7 answers

Open a file in a tab in vim in readonly mode

I'm aware of opening files in readonly mode from shell using vim -R, but how to open a file from inside vim in a separate tab (:tabe ) in readonly mode? Thanks for your time.
Srikanth
  • 11,780
  • 23
  • 72
  • 92
82
votes
14 answers

HTML: how to force links to open in a new tab, not new window

I use target="_blank" to open links in a new tab. But in IE it opens a new window which is completely logical because that is what _blank is supposed to do. And i don't know how target="_blank" behaves in other browsers. Is there something to force…
Moon
  • 19,518
  • 56
  • 138
  • 200
80
votes
6 answers

Is it possible to set indent settings in Xcode per project (or per file, even)?

Some projects I work in uses tab key settings that equate to 3 or 4 spaces and another wants actual tabs. Another mixes the two depending on directory. Is there some way to set these settings per project, or even better, per file? If not, does…
Michael Chinen
  • 17,737
  • 5
  • 33
  • 45