Questions tagged [row-height]
178 questions
1609
votes
29 answers
Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
How do you use Auto Layout within UITableViewCells in a table view to let each cell's content and subviews determine the row height (itself/automatically), while maintaining smooth scrolling performance?

smileyborg
- 30,197
- 11
- 60
- 73
232
votes
9 answers
Setting custom UITableViewCells height
I am using a custom UITableViewCell which has some labels, buttons and image views to be displayed. There is one label in the cell whose text is a NSString object and the length of string could be variable. Due to this, I cannot set a constant…

Vijayeta
- 5,585
- 5
- 21
- 11
94
votes
26 answers
Dynamic Height Issue for UITableView Cells (Swift)
Text data of variable length are being injected into tableview cell labels. In order for each cell height to be properly sized, I have implemented in viewDidLoad():
self.tableView.estimatedRowHeight = 88.0
self.tableView.rowHeight =…

simplexity
- 1,527
- 1
- 13
- 31
83
votes
19 answers
why UITableViewAutomaticDimension not working?
Hi there is plenty of question answering the dynamic height for UITableViewCell of UITableView. However I find it weird when I did it.
here's are some of the answer :
here and here
usually this would answer the dynamic height for…

CaffeineShots
- 2,172
- 7
- 33
- 58
50
votes
12 answers
Changing the row height of a DataGridView
How can I change the row height of a DataGridView?
I set the value for the property but height doesn't change. Any other property has to be checked before setting this one.

karthik
- 4,485
- 8
- 30
- 45
39
votes
4 answers
How do I databind a ColumnDefinition's Width or RowDefinition's Height?
Under the View-Model-ViewModel pattern for WPF, I am trying to databind the Heights and Widths of various definitions for grid controls, so I can store the values the user sets them to after using a GridSplitter. However, the normal pattern doesn't…

Nidonocu
- 12,476
- 7
- 42
- 43
34
votes
3 answers
How to set WPF ListView row height?
I've got a listView displaying a few text records. I need to increase the height of rows (working on a touch screen so I need thicker rows) without increasing the font size.
This is probably pretty trivial but I have no clue and can't find much on…

JohnIdol
- 48,899
- 61
- 158
- 242
30
votes
8 answers
Table View Cell Row Height doesnt work
I have tried to hard code the row height in the table view cell. After running the program it looks like only one line. I suspect it is because of the height of the row of the table view.
Could you please tell me what went wrong in here?

Agung Laksana
- 781
- 1
- 12
- 26
28
votes
7 answers
C# Change ListView Item's/Row's height
I want to change the Item's/Row's height in listview.
I searched every where and I figured that in order to change the height I need to use LBS_OWNERDRAWFIXED or MeasureItem or something like that.
The problem is that I dont know exactly what to do…

Ron
- 3,975
- 17
- 80
- 130
27
votes
3 answers
GridView row height
I have a GridView that displays images, which are, unfortunately, of different sizes. They are shown in between two lines of text:
text1.1 text1.2
ImageView(IMAGE1) ImageView(IMAGE2)
text2.1 …

kozyr
- 1,334
- 1
- 20
- 30
22
votes
2 answers
UITableViewCell: Custom Row Height for prototype cell
In my storyboard file I am designing multiple prototype cells in a UITableView. Each cell has its own unique Cell Identifier.
Depending on the section and the row I dequeue one of the prototype cells in method - tableView:cellForRowAtIndexPath:
For…

Brabbeldas
- 1,939
- 4
- 20
- 32
20
votes
3 answers
20
votes
4 answers
Setting the height of a row in a JTable in java
I have been searching for a solution to be able to increase the height of a row in a JTable. I have been using the setRowHeight(int int) method which compiles and runs OK, but no row[s] have been increased. When I use the getRowHeight(int) method of…

Douglas Grealis
- 599
- 2
- 11
- 25
19
votes
8 answers
Dynamically increase height of UILabel & TableView Cell?
I have a UITableView in which i am displaying a custom cell.I my cell i have two label & one view as below in picture.
I have given constraint of left view like this
Item label constraints
center view constraints
right view constarints
I am…

Dheeraj Kumar
- 327
- 2
- 6
- 19
13
votes
1 answer
Ag-Grid - Row with multiline text
I'm using Angular Grid (version 1.16.1) and I need to show a long text inside a table and I want that row height would be adjusted by the content, breaking line if necessary.
I've tried:
sizeColumnsToFit method, expecting that ag-grid could resize…

André Luís Oliveira
- 464
- 1
- 3
- 15