Questions tagged [space]

DO NOT USE THIS TAG! It is too ambiguous; instead please use a more specific tag like letter-spacing (separation between letters), whitespace (between words), margin (areas of a screen), layout or a platform/language-specific tag (for non-web layouts), etc.

DO NOT USE THIS TAG! It is too ambiguous; please tag your platform and/or language instead and if necessary a more specific tag like

  • letter-spacing (separation between letters),
  • whitespace (between words, glyphs),
  • margin (areas of a screen),
  • layout or a platform-specific tag (for non-web layouts)

etc.

Space characters in text systems indicate separation between words or glyphs. While most Western scripts use only one space character, Unicode defines multiple different kinds of whitespace characters for use in specialized typography functions and in Asian languages.

1977 questions
50
votes
5 answers

detect color space with openCV

how can I see the color space of my image with openCV ? I would like to be sure it is RGB, before to convert to another one using cvCvtColor() function thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
45
votes
15 answers

Right aligned UITextField spacebar does not advance cursor in iOS 7

In my iPad app, I noticed different behavior between iOS 6 and iOS 7 with UITextFields. I create the UITextField as follows: UIButton *theButton = (UIButton*)sender; UITextField *textField = [[UITextField alloc] initWithFrame:[theButton…
jkh
  • 3,618
  • 8
  • 38
  • 66
43
votes
6 answers

How to set 4 space tab in bash

It look like set tabstop=4 in VIM, but I don't know how to set it in bash for example: echo -e "1234567890\t321\n1\t2\n123\t1" current output: 1234567890 321 1 2 123 1 I want output like this: 1234567890 321 1 2 123 1 It can be…
Zheng Kai
  • 3,473
  • 3
  • 17
  • 23
42
votes
12 answers

Remove unwanted White Space in WebView Android

I have started developing an App using WebView. Actually I am loading an Image with Webview (I like to use the built-in zoom controls of the class). I can successfully load the Image but I can see some irritating white spaces. I can't find the way…
Manimaran
  • 421
  • 1
  • 4
  • 4
41
votes
4 answers

EXCEL VBA Check if entry is empty or not 'space'

Note. Check if the TextBox1 is empty is easy by using TextBox1.Value = "". But the problem is when the user hit the spacebar, TextBox1 will still recognize it as a value. In such case, my data will appear as an empty cell with 1 space inside. So my…
4 Leave Cover
  • 1,248
  • 12
  • 40
  • 83
40
votes
16 answers

Android disable space only for Edittext

In my android application I need to disable Spacebar only. But I didn't find a solution for this problem. I need to disable space bar and when user enter space should not work; special characters, letters, digits and all other - should work. What I…
roshanpeter
  • 1,334
  • 3
  • 13
  • 32
37
votes
2 answers

Git add a folder with spaces in the name

Problem When I want to add something to the staging area I normally type git add < folder-name >. However, I can't add folders with spaces in the name. My git add auto complete doesn't correctly escape the spaces. For example I have a folder named:…
Jonathan Yeong
  • 523
  • 1
  • 4
  • 8
37
votes
4 answers

Remove carriage return and space from a string

I want to remove carriage return and space from a string for exemple: var t =" \n \n aaa \n bbb \n ccc \n"; I want to have as result: t = "aaa bbb ccc" I use this one, it removes carriage return but I still have spaces t.replace(/[\n\r]/g,…
Guest Guest
  • 411
  • 1
  • 6
  • 9
32
votes
4 answers

How to put space between switch button and its text in android?

I have the following element: But on designer the switch button and its text "Data about client?" are very glued together. I tried putting space between ? and " like…
Profile2ForStack
  • 473
  • 2
  • 8
  • 16
30
votes
4 answers

Internals of Python list, access and resizing runtimes

Is Python's [] a list or an array? Is the access time of an index O(1) like an array or O(n) like a list? Is appending/resizing O(1) like a list or O(n) like an array, or is it a hybrid that can manage O(1) for accessing and resizing? I read here…
daveeloo
  • 923
  • 3
  • 9
  • 8
30
votes
7 answers

Adding whitespace in Java

There is a class trim() to remove white spaces, how about adding/padding? Note: " " is not the solution.
Sobiaholic
  • 2,927
  • 9
  • 37
  • 54
29
votes
3 answers

UL has margin on the left

For some reason in my footer there's a space to the left of my ul so it isn't lined up with the content above it (membership text etc) If I were to put text outside this ul (but still within the footer wrapper) there is no such space. Here's what it…
Jamie O'Hanlon
  • 341
  • 1
  • 4
  • 8
28
votes
3 answers

Replacing tab characters in JavaScript

Please consider the following HTML
 element:
This is some  
example code which    
     contains tabs

I would like to replace all of the tab characters with four non-breaking space characters in HTML (i.e.  ). I…
benmajor
  • 281
  • 1
  • 3
  • 3
28
votes
6 answers

ChartJS – is there any way to remove blank space around pie charts?

I am dealing with a chart that has unwanted spacing on left and right side. I've been trying to remove it with no luck, and I don't know what else to do now. I've read the documentation thoroughly, but can't seem to find a solution. Is this…
Pelle
  • 741
  • 1
  • 9
  • 16
27
votes
3 answers

jQuery serialize converts all spaces to plus

Currently, everywhere I use serialize I have to use it like this: .serialize().replace(/\+/g,'%20'); otherwise any spaces in the form data will be coverted to +'s. Is there a setting that can make this the default.
Mark Steggles
  • 5,369
  • 8
  • 40
  • 50