Top "Layout" questions

The layout tag is for questions about the placement, alignment and justification of objects with respect to a containing element.

Spacing between child controls in WPF Grid

I have a set of Key/Value pairs I want to display on a WPF Window. I'm using a grid …

wpf layout grid
Latex: Text cannot be placed below image

I'm having a problem with an image and some text. I have this code: Some text...\\ \begin{figure}[ht] \centering \…

layout latex figure text-alignment
Browser doesn't scale below 400px?

I'm working on putting together a liquid style-sheet and it works wonderful. One thing that I've noticed is that my …

html css layout liquid-layout
GridLayoutManager - how to auto fit columns?

I have a RecyclerView with a GridLayoutManager that displays Card Views. I want the cards to rearrange according to the …

android layout xamarin android-recyclerview android-gridlayout
Android layout - alignment issue with ImageView

I'm trying to put an image at the top left of a LinearLayout, but with the image border and padding …

android layout android-imageview
Centering a JLabel in a JPanel

I have a panel derived from JPanel. I have a custom control derived from JLabel. I am attempting to center …

java swing layout layout-manager
Android: Change Background Color of Fragment

I tried changing the background color of a fragment, but a small problem occurred. public class MainActivity extends FragmentActivity { @Override …

android layout background fragment
How to get shadow on android linear layout?

Possible Duplicate: how to set shadow to a View in android? In my Android app I need a layout with …

android layout shadow
Space Between Sections in UITableview

I need to reduce the space between two sections ofUITableView. I looked at this question but the solution doesn't allow …

ios uitableview swift layout
Android TableLayout Width

I have a two column TableLayout as the only child of a scroll view. The first column contains TextViews ('labels') …

android layout width tablelayout