Questions tagged [layout]

The layout tag is for questions about the placement, alignment and justification of objects with respect to a containing element. For questions pertaining to CSS, use the 'css' tag instead.

In computing, layout is the process of calculating the position of objects in space subject to various constraints. This functionality can be part of an application or packaged as a reusable component or library.

Android Development Examples:

HTML Examples:

26721 questions
7
votes
3 answers

Align like a table but with CSS?

Is it possible to align the following 2 rows like a table ? The first row is a h2 because it is the title and the rest are lists. The first column should be quite wide but the rest can be as wide as the text inside. The columns must fill the width…
Jane Watson
  • 545
  • 2
  • 8
  • 13
7
votes
3 answers

Increasing the hit size of a radio button

I've been using Windows Forms for years, but I'm relatively new to WPF. I have a number of radio buttons without labels (the labels are at the top of the column, don't worry about them! This program is going to run on a tablet so I want to make…
Justin Doyle
  • 596
  • 1
  • 4
  • 9
7
votes
4 answers

How Do I Avoid Line-Break Padding?

My biggest gripe with HTML is that line breaks add a tiny bit of space between elements. (jsFiddle.) This can screw up layouts where child elements are sized to exactly fit their parents. I read somewhere that you can remove this implicit padding -…
Maxpm
  • 24,113
  • 33
  • 111
  • 170
7
votes
3 answers

How to get console output and plot side by side in a R Notebook?

In a R Notebook there is a function that makes many plots and print summary statistics in the console. I would like to get the plot and the console output (i.e. summary statistics) side by side on the HTML output. Here is a very simple…
Paul
  • 2,850
  • 1
  • 12
  • 37
7
votes
4 answers

Magento layout - content is not being rendered/displayed

I have gone through various Magento tutorials as well as a Magento book on layout, but I'm stuck with the following problem. I have created a custom module, located in app/code/local/Company/Module/ . I have created a block…
arunkumar
  • 32,803
  • 4
  • 32
  • 47
7
votes
1 answer

Saving Primefaces layout state

I understand that Primefaces Layout and Dashboard have state which can be saved. Could someone help me with snippet code (or some tutorial / how to ) site on how to save Primefaces layout (fullpage) into some persistent database or file. In this…
Aditya
  • 757
  • 8
  • 11
7
votes
3 answers

Android: How to avoid layout being pushed when keyboard invoked

I have a layout as below
Jay Mayu
  • 17,023
  • 32
  • 114
  • 148
7
votes
2 answers

CSS left: -50% causing IE7 to ignore width

A fully working example is availiable here on jsFiddle. I strongly encourage you to look here as the CSS is kind of large, and I didn't want to paste it here (making my question hard to read). I have a horizontally centered tabstrip on my site, the…
Aren
  • 54,668
  • 9
  • 68
  • 101
7
votes
2 answers

ShapeableImageView doesnt round corners

ShapeableImageView takes a ShapeAppearanceOverlay item in style to create desired shapes and sizes. The shape families are cut and rounded, radius can be used as a number or in percentages. Here is my ShapeAppearanceOverlay theme for…
7
votes
2 answers

How to categorize android layout in to small,medium,large,x-large screen?

I created 4 different layout files and placed it in layout , layout-small,layout-large,layout-xlarge. folder and TESTED IN QVGA,HVGA,AND WXGA EMULATOR. But it is only taking the default layout(which i placed it in layout folder)for all…
vnshetty
  • 20,051
  • 23
  • 64
  • 102
7
votes
3 answers

Android square imageview

im trying to make a table with square imageviews (and all with the same size). The problem is that the images have different height and width. The table is 3x3 and i'd like to: each cell have a with = 1/3 of the screen width (maybe with the layout…
ChyBy
  • 1,655
  • 2
  • 13
  • 15
7
votes
1 answer

Address Space Layout for a Multithreaded Linux Process

I want to know the full detail of the address space layout of a multithreaded Linux Process for both 64 bit and 32 bit. Link to any article that describes it will be appreciated. And note that I need to know full details, not just an overview,…
MetallicPriest
  • 29,191
  • 52
  • 200
  • 356
7
votes
5 answers

How can I set Orientation Fixed for all activities

Android Layout. How can I set Orientation Fixed for all activities in application Tag of AndroidMainfest.xml ? I don't want to set orientation for each activity individually. Thanks in advance.
Xorsat
  • 2,388
  • 21
  • 21
7
votes
2 answers

Partial view inherits from master layout

I have a partial view and int it, there is no trace of any inheritance from any layout. But whenever I want to use it (render it) inside a view, the layout gets repeated once for the view, and once for the partial view. This post suggests to create…
Saeed Neamati
  • 35,341
  • 41
  • 136
  • 188
7
votes
3 answers

Swing BoxLayout problem - Can't make the Fillers do their job

What i'm trying to do In Swing, I'm trying to use a BoxLayout or equivalent linear container, but the items in the container are stretching vertically. Inside my application, I don't want them to stretch vertically. I know i could set a…
Joel
  • 3,427
  • 5
  • 38
  • 60