Top "Layout" questions

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

Algorithm to implement a word cloud like Wordle

Context Take a look at Wordle: http://www.wordle.net/ It's much better looking than any other word cloud generators …

layout fonts typography tag-cloud wordle
error upon assigning Layout: BoxLayout can't be shared

I have this Java JFrame class, in which I want to use a boxlayout, but I get an error saying …

java swing layout boxlayout
How to Create Borderless Buttons in Android

The Android Design Guidelines say to use borderless buttons (see picture below), but don't really explain how. Someone asked this …

android layout button borderless
C How to "draw" a Binary Tree to the console

What algorithms can be used to draw a binary tree in the console? The tree is implemented in C. For …

c algorithm layout binary-tree
How can I control the width of JTextFields in Java Swing?

I am trying to have several JTextFields on a single row, but I don't want them to have the same …

java swing layout jtextfield layout-manager
Centering a view in its superview using Visual Format Language

I just started learning AutoLayout for iOS and had a look at Visual Format Language. It all works fine except …

ios layout autolayout visual-format-language
Limit height of ListView on Android

I want to show a button under a ListView. Problem is, if the ListView gets extended (items added...), the button …

android listview layout android-layout
Android -- How to position View off-screen?

I'm trying to animate a simple ImageView in my application and I want it to slide in from the bottom …

android layout animation imageview
"Canvas: trying to draw too large bitmap" when Android N Display Size set larger than Small

I have a published app that is crashing at startup on Android N when the newly introduced Display size OS …

android layout android-7.0-nougat
tkinter gui layout using frames and grid

My gui layout looks almost nothing like what I expect so I assume there are some basics that I don't …

python layout tkinter frame