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
217
votes
6 answers

disable the swipe gesture that opens the navigation drawer in android

I've been following the navigation drawer guide by Google and I'd like to add it to an Activity with tabs and gestures. I'd like to disable the gesture to open the navigation drawer, does anyone have any idea how to do this?
user1627990
  • 2,587
  • 2
  • 16
  • 18
216
votes
19 answers

How to insert spaces/tabs in text using HTML/CSS

Possible ways:
 ... 
or style="white-space:pre" Anything else?
Yeseanul
  • 2,787
  • 4
  • 21
  • 25
210
votes
8 answers

How to make the tab character 4 spaces instead of 8 spaces in nano?

When I press TAB in nano editor, the cursor will jump with 8 spaces like this: def square(x): return x * x def cube(y): return y * y * y how can I set the tab stop width to 4 spaces to display like this: def square(x): return x…
Fallen Satan
  • 2,105
  • 2
  • 13
  • 4
186
votes
8 answers

Chrome: timeouts/interval suspended in background tabs?

I was testing the accuracy of setTimeout using this test. Now I noticed that (as expected) setTimeout is not very accurate but for most appliances not dramatically inaccurate. Now if I run the test in Chrome and let it run in a background tab (so,…
KooiInc
  • 119,216
  • 31
  • 141
  • 177
182
votes
5 answers

Show SOME invisible/whitespace characters in Eclipse

A long while back I transitioned to doing all my web application development in Eclipse from BBEdit. But I miss one little feature from BBEdit. I used to be able to show invisible characters like tabs but not show other invisibles like spaces. I…
bryan kennedy
  • 6,969
  • 5
  • 43
  • 64
174
votes
7 answers

How do I write a "tab" in Python?

Let's say I have a file. How do I write "hello" TAB "alex"?
TIMEX
  • 259,804
  • 351
  • 777
  • 1,080
161
votes
12 answers

Separate Back Stack for each tab in Android using Fragments

I'm trying to implement tabs for navigation in an Android app. Since TabActivity and ActivityGroup are deprecated I would like to implement it using Fragments instead. I know how to set up one fragment for each tab and then switch fragments when a…
mardah
  • 1,633
  • 3
  • 12
  • 5
157
votes
5 answers

What is the way to quick-switch between tabs in Xcode 4

I have opened many tabs while working on project. (new feature in Xcode 4). But for switching from one tab to other tab, the only way I've found to do this is to use the mouse. Is there any way to switch between different tabs using keyboard…
sagarkothari
  • 24,520
  • 50
  • 165
  • 235
156
votes
4 answers

Stacked Tabs in Bootstrap 3

I am trying to implement left-aligned stacked tabs using the Tab jquery plugin in Bootstrap 3 where tabs are rendered vertically to the left of tab content, rather than on top. When I try the following;
osmbergs
  • 1,593
  • 2
  • 11
  • 6
153
votes
15 answers

Open new Terminal Tab from command line (Mac OS X)

Is it possible to open a new tab in Mac OS X's terminal from the command line in a currently opened tab? I know that the keyboard shortcut to open a new tab in Terminal is "CMD+t" but I am looking for a script-based solution executed in the command…
Calvin Cheng
  • 35,640
  • 39
  • 116
  • 167
143
votes
11 answers

How do I make a new line or tab in XML?

In my strings.xml file I have a very long text which I want to format. How can I put a tab before the first sentence of the text? Also, what is the code for new line?
139
votes
19 answers

How can I keep selected Bootstrap tab on page refresh?

I am trying to keep selected tab active on refresh with Bootstrap 3. Tried and checked with some question already been asked here but none of work for me. Don't know where I am wrong. Here is my code HTML
135
votes
10 answers

Can you make valid Makefiles without tab characters?

target: dependencies command1 command2 On my system (Mac OS X), make seems to require that that Makefiles have a tab character preceding the the content of each command line, or it throws a syntax error. This is an annoyance when creating…
xyz
  • 27,223
  • 29
  • 105
  • 125
123
votes
16 answers

How to disable anchor "jump" when loading a page?

I think this may not be possible, will try and explain as best as I can. I have a page containing tabs (jquery powered), controlled by the following: I'm using this code, as provided by another user from a previous question.
Ross
  • 18,117
  • 7
  • 44
  • 64
123
votes
4 answers

Diff two tabs in Vim

Scenario: I have opened Vim and pasted some text. I open a second tab with :tabe and paste some other text in there. Goal: I would like a third tab with a output equivalent to writing both texts to files and opening them with vimdiff. The closest I…
davetapley
  • 17,000
  • 12
  • 60
  • 86