Questions tagged [spacing]

Refers to the blank space (page or screen) between two objects or entities.

Refers to the blank space (page or screen) between two objects or entities.

1104 questions
7
votes
4 answers

Outlook 2016 adds space between table rows. HTML email dev, can't find a fix that works

Outlook 2016 is adding space between table rows in HTML email. I can't find a fix that works. Blue section on top should be one bar, not have the white gaps. Gray section on bottom should also be one footer section, not have the two white gaps in…
flexlearn
  • 109
  • 1
  • 1
  • 12
7
votes
1 answer

Android Studio Tab/Indent Space Settings Are Not Working (Stuck at 2 space indent)

I am trying to fix a tab/indent issue with Android Studio. It is not setting the proper spacing (4) on new lines. I tried setting the tab, indent, and continuation size to 4 but nothing changes. Even setting crazy values has no effect Do you know…
Aggressor
  • 13,323
  • 24
  • 103
  • 182
7
votes
0 answers

How remove spacing Horizontal GridLayoutManager recyclerview android

I use recyclerview with grid layoutmanager I don't add ItemDecoration GridLayoutManager gridLayoutManager = new GridLayoutManager(TestResultActivity.this, 4, GridLayoutManager.HORIZONTAL, false); …
7
votes
2 answers

QFont doens't allow line spacing or leading to be set manually

I've been trying to find a way to change a font file's line spacing default value, using QFont, QFontMetrics or something like that. I'm using QPainter::drawText to draw some text in a bounding rectangle. It's strange that QFont allows for font…
Pedro Leal
  • 183
  • 1
  • 10
7
votes
2 answers

How to increase padding between columns using Bootstrap 3.0

I am relatively new to programming and am making a website using bootstrap 3.0. I want to make two rows that center in the middle of the page. For the first row I used div class="col-md-4 col-md-offset-2" and for the second row div…
Stiño
  • 2,663
  • 7
  • 25
  • 47
7
votes
8 answers

What's the purpose of adding spacings between operators?

I basically learnt C/C++ programming by myself, so I don't know much about good programming habit. One thing always make me wonder is why people always like to add spacing between operators in their codes like: if(x > 0) instead of …
user0002128
  • 2,785
  • 2
  • 23
  • 40
7
votes
5 answers

text with google web font has different top spacing in chrome/windows and chrome/mac

I'm trying to use a google webfont (Josefin Sans), and on windows it has a big spacing at the top, while on mac it does not have it. Here's an example page: http://dl.dropbox.com/u/1421735/font.html Here are the screenshots from chrome/windows and…
zsombornagy
  • 113
  • 2
  • 8
6
votes
5 answers

Weird spacing between element and border in chrome

I wrapped a few divs inside a div container, and I can see some weird space between the borders and elements. The problem is occurring on chrome and edge. I tried Mozilla, and it worked fine. I am using bootstrap, with some custom CSS. I am sharing…
Pranav Rustagi
  • 2,604
  • 1
  • 5
  • 18
6
votes
2 answers

How do I get padding between table cells, but not around the entire table?

I want to have a table with padding between each of the cells, but not around the outer edge cells, that is, not around the table itself. Using: border-collapse : separate; border-spacing : 0.5em; gives me padding everywhere, while…
Lawrence Dol
  • 63,018
  • 25
  • 139
  • 189
6
votes
3 answers

Spacing issues with xspace

Let's say my macro is \newcommand{\k}{king\xspace}. Then the spacings in "... said the \k." will be fine. But what do I do if I want no spacing in the middle of \k\k.? I want "kingking." not "king king." Is there a way to do this?
queen
  • 61
  • 1
  • 2
6
votes
3 answers

Objective C label line spacing?

Is there a way to set the distance of two lines within a UILabel? I tried to do it within Interface Builder but without success.
Secondwave
  • 225
  • 1
  • 4
  • 17
6
votes
2 answers

Mystery white space at the bottom of form element

When a form is put inside a div, there's always extra space at the bottom of the form for some reason. How do we get rid of that space? In the code snippets from stack overflow, it doesn't actually show the space, but anywhere else, it does. The…
frosty
  • 2,559
  • 8
  • 37
  • 73
6
votes
3 answers

IPhone: Change line spacing in UITextView?

I've been looking all over the 'net for information/examples... I'm trying to change the line spacing of text inside a UITextView object to double spaced. I thought you could do it via Core Text, but haven't found a solution! Any example code or…
Matt Gomes
  • 91
  • 1
  • 3
6
votes
4 answers

Spacing between the glyphicon and text?

I am trying to add a glyph icon as part of an email address link. The icon shows but there is no spacing between the icon and the email address text (I want the hyperlink to include both the icon and the text... including the space). What's the best…
user2162381
  • 71
  • 1
  • 1
  • 2
6
votes
4 answers

LaTeX - Adding a varying amount of horizontal spacing to the beginning of each new line in a sequence

I'm using LaTeX for an algorithms assignment and I need to show the steps for Horspool's algorithm for string matching similar to what is shown in the textbook. The way it demonstrates the algorithm is showing how the pattern shifts along the text…
Feanor
  • 2,715
  • 4
  • 29
  • 43