Questions tagged [row-height]
The row-height tag has no usage guidance.
                                	
	row-height
    
                            
                        
                    
            181
            questions
        
        
            1614
            votes
        
        
            29
            answers
        
        
            708k
            views
        
    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 ...
            
        
       
    
            233
            votes
        
        
            9
            answers
        
        
            285k
            views
        
    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 ...
            
        
       
    
            93
            votes
        
        
            26
            answers
        
        
            197k
            views
        
    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 = ...
            
        
       
    
            83
            votes
        
        
            19
            answers
        
        
            83k
            views
        
    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 ...
            
        
       
    
            51
            votes
        
        
            12
            answers
        
        
            184k
            views
        
    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.
            
        
       
    
            41
            votes
        
        
            4
            answers
        
        
            39k
            views
        
    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 ...
            
        
       
    
            34
            votes
        
        
            3
            answers
        
        
            47k
            views
        
    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 ...
            
        
       
    
            30
            votes
        
        
            8
            answers
        
        
            34k
            views
        
    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 ...
            
        
       
    
            29
            votes
        
        
            7
            answers
        
        
            83k
            views
        
    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.
...
            
        
       
    
            27
            votes
        
        
            3
            answers
        
        
            67k
            views
        
    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(...
            
        
       
    
            22
            votes
        
        
            2
            answers
        
        
            18k
            views
        
    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 ...
            
        
       
    
            22
            votes
        
        
            3
            answers
        
        
            50k
            views
        
    HTML: one row of <textarea> is of how much height?
                I want to know the height of one row of <textarea>. I want to know that because I want to do some calculations.
Do we know it or do we have to do some scripting?
            
        
       
    
            21
            votes
        
        
            4
            answers
        
        
            73k
            views
        
    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 ...
            
        
       
    
            19
            votes
        
        
            8
            answers
        
        
            34k
            views
        
    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 
...
            
        
       
    
            13
            votes
        
        
            1
            answer
        
        
            16k
            views
        
    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:
...
            
        
       
    
            11
            votes
        
        
            12
            answers
        
        
            49k
            views
        
    UITableViewCell with dynamic height iOS
                I have implemented TableView with CustomCell in my app,
I want dynamic height of my UITableViewCell according to text length in UITableViewCell,
here is the snapshot of Customcell
:
and here is the ...
            
        
       
    
            11
            votes
        
        
            1
            answer
        
        
            5k
            views
        
    How to implement jtable with variable row-height
                None of the answers to two previous questions (here and here) resolve my problem.
I have a multi-column jtable for which I want to display string-content of some columns over more than one line ...
            
        
       
    
            10
            votes
        
        
            2
            answers
        
        
            11k
            views
        
    How to increase row height of listview in report style?
                I need to add just 2px :) to a height of a row in a list view (a custom drawn progress bar is too narrow now).
There are two good answers Change Listview item height, http://www.delphipages.com/forum/...
            
        
       
    
            10
            votes
        
        
            2
            answers
        
        
            30k
            views
        
    Fix row height of every row in TableLayoutPanel
                I'm working on Windows c#.
Firstly, the things those can not be change as my need are following:
The Size of TableLayoutPanel is fixed. 
The Total # of columns are fixed.
Now, I want to set a fix ...
            
        
       
    
            10
            votes
        
        
            4
            answers
        
        
            9k
            views
        
    iOS Auto-Layout: Dynamic height for table view cell
                I have a table view with a bunch of cells (custom cell, which only has its content view).
In tableView:cellForRowAtIndexPath: I'm adding a predefined UIView (which has several subviews) to the ...
            
        
       
    
            9
            votes
        
        
            3
            answers
        
        
            16k
            views
        
    How to set a UITableView static cell to a custom height?
                I have a UITableView with static cells and I am trying to change the height of the cell when it meets a condition. The conditions are being met but the cell heights won't change. 
The code I am using ...
            
        
       
    
            9
            votes
        
        
            1
            answer
        
        
            857
            views
        
    Self-Sizing (Dynamic Height) Cells in iOS 8 - Possible without Custom UITableViewCell?
                Is it possible to self-size a UITableViewCell in iOS 8 without creating a Custom UITableViewCell? 
I thought that the standard UITableViewCell types (UITableViewCellStyleDefault, ...
            
        
       
    
            8
            votes
        
        
            1
            answer
        
        
            13k
            views
        
    Auto-RowHeight in wpf.DataGrid
                I had binded DataGrid to my collection, and i need bind height of each row to my property.
Is it possible? Or is there another way, to link height of each row with corresponding  property in the ...
            
        
       
    
            7
            votes
        
        
            1
            answer
        
        
            5k
            views
        
    Changing a specific uitableviewcell row height while scrolling a uitableview
                I have a UITableview with 2 sections, 1 row in the 1st section, and a variable amount of rows for the second section.  When the user scrolls the table up (finger moving upwards), then the tableview ...
            
        
       
    
            7
            votes
        
        
            2
            answers
        
        
            774
            views
        
    Dynamic UITableView height with Core Data objects
                I've been trying to solve a mystery the past few days as to why my NSFetchedResultsController with a batch size of 20 would always fault in (that is, load into memory) all my objects immediately when ...
            
        
       
    
            6
            votes
        
        
            4
            answers
        
        
            12k
            views
        
    How to detect values that do not fit in Excel cells, using VBA?
                We are generating long Excel sheets using various tools, which have to be reviewed and used as input further down in the workflow.
The problem that some cells are too small for texts they contain.
So ...
            
        
       
    
            6
            votes
        
        
            2
            answers
        
        
            16k
            views
        
    Dynamic height for ListView row in android
                I'm seeing a strange behavior with my ListView, which I can't seem to get around.
I have a ListView, which is populated with some data.  Each row contains an image and three text labels.  Here's my ...
            
        
       
    
            6
            votes
        
        
            2
            answers
        
        
            12k
            views
        
    Is it possible to specify TableRow height?
                I have a TableLayout with multiple TableRow views inside it.  I wish to specify the height of the row programatically.  E.g.
int rowHeight = calculateRowHeight();
TableLayout tableLayout = new ...
            
        
       
    
            5
            votes
        
        
            4
            answers
        
        
            16k
            views
        
    Full height columns on Foundation
                I'm using Foundation 5 Framework and need to create 3 same height columns.
Second columns includes 2 panels, I need to stretch all columns to full height (in the second columns there will be just ...
            
        
       
    
            5
            votes
        
        
            2
            answers
        
        
            9k
            views
        
    Change UITableviewCell height dynamically in iPhone?
                I have three custom UILabel in UITableViewCell. The cell design like this,
Date(12.1.2012)  Time(12.00pm)
Cost: $20.00
Details
I have specified the row height 100 in - (CGFloat)tableView:(...
            
        
       
    
            5
            votes
        
        
            1
            answer
        
        
            827
            views
        
    How to change height of a grouped tableViewCell?
                I'm trying to display address as its displayed in Contact app of iPhone. so it seems i need a cell with height three times of a regular cell. as its always going to be same i just need to apply a ...
            
        
       
    
            4
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    Explicitly set row height for some rows but use estimatedRowHeight for others
                I have a UITableViewCell which contains a UIWebView as a subview. The web view fills the entire cell. I am using estimatedRowHeight to calculate the row height. However, at the time the table view is ...
            
        
       
    
            4
            votes
        
        
            1
            answer
        
        
            1k
            views
        
    LaTeX: Avoid the increase of text row height due to inline math
                In the following example code the height of the second row of text increases due to the presence of the inline math formula:
\documentclass{article}
\linespread{0.9}
\begin{document}
Lorem ipsum ...
            
        
       
    
            4
            votes
        
        
            2
            answers
        
        
            8k
            views
        
    UITableViewCell + Dynamic Height + Auto Layout
                I came from this great answer: Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
I've implemented the things described in that answer but I'm facing with a little ...
            
        
       
    
            4
            votes
        
        
            2
            answers
        
        
            8k
            views
        
    Expandable GridView height does not expand to the content's height
                I am using this ExpandableHeightGridView class where the GridView"supposedly" stretches to the content's height since I am placing it inside a ScrollView. This works fine if my GridViewitems are ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            1k
            views
        
    GridView with incomplete row item does not scroll
                I have a problem with my GridView when it receives incomplete row item number, it doesn't scroll anymore. My items are dynamic which are given by the server, I have 3 columns and if the number of ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            6k
            views
        
    UITableViewCell Size is not expanding at runtime .?
                here is a storyboard image. i have take a dynamic tableviewcell I have tried with drag and drop UITableViewCell and change row height from the storyboard, it cannot expanded cell height at runtime.
...
            
        
       
    
            3
            votes
        
        
            4
            answers
        
        
            8k
            views
        
    how to set all row heights of the wpf datagrid when one row height is adjusted
                Im using the wpf datagrid and am looking for a way to set the height on all of the rows when the user adjusts one of them. I know the datagrid has a RowHeight property that sets all of the row heights ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            16k
            views
        
    Auto Row Height property of agGrid is not working
                I am using Angular Grid in my project. I want to increase the row height automatically when cell content increased. I checked autoHeight property to set as auto but it is not working in my case.
In ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            12k
            views
        
    Change height of textarea based on number of lines of text in javascript [duplicate]
                Possible Duplicate:
  Autosizing textarea using prototype  
How do I change the height of a text area based on the number of lines of text that the user puts into it?
For the example below if the ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            1k
            views
        
    Calculate cell height based on number of lines?
                I'd like to make a custom UITableViewCell height using (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath.
I'm trying to get the height of the ...
            
        
       
    
            3
            votes
        
        
            4
            answers
        
        
            1k
            views
        
    How to resize custom cell height dynamically
                I want to resize custom cell height dynamically. 
In my tableView there are three custom columns :   
Product Name  
Product Qty  
Product Price  
Now Product Name column does not show full name. ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    JTree: variable row height
                I'd like my JTree to have variable row heights. From what I've read, all I have to do is setRowHeight(0) and implement a custom TreeCellRenderer. Inside the TreeRenderer different borders are set, ...
            
        
       
    
            3
            votes
        
        
            3
            answers
        
        
            5k
            views
        
    Dynamically resizing an IOS tableview cells which have a textview embedded in swift
                I have tried the following code which gives the correct textview frame height 
func textViewDidChange(_ textView: UITextView) {
    myToDoList[keyArray[sect]]![row] = textView.text
    var frame = ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            1k
            views
        
    Dynamic Height of Cells in Table View Not Working
                I have created one table view, which has 6 labels and 2 buttons. I am using autolayout. And I am getting data from the server.
ViewController.cs
public partial class CaseHistoryController : ...
            
        
       
    
            3
            votes
        
        
            3
            answers
        
        
            500
            views
        
    UITableview Auto Adjust Row Issue Swift IOS?
                I am facing one issue with adjusting UITableView row hight dynamically. I know by using this methods we can achieve 
self.tableView.rowHeight = UITableViewAutomaticDimension;
self.tableView....
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    Calculating dynamically the height of a custom UITableViewCell
                I am building a application without the IB and I am writing everything from scratch. I have a custom UITableViewCell and when I try to calculate the height, it behaves like there are no subviews. I ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            7k
            views
        
    CSS transition table-row height
                I have a CSS table. All the rows are the same height, but when a user clicks on one, the selected row should take up the entire table height and the rest of them should fade away.  I had it working by ...
            
        
       
    
            3
            votes
        
        
            3
            answers
        
        
            4k
            views
        
    Variable cell height in iOS UITableView with auto layout constraints in code
                I have a view controller which has a UITableView instance and uses auto layout constraints to render it. I would like to have variable cell heights in this table view. I do not want to calculate the ...
            
        
       
    
            2
            votes
        
        
            5
            answers
        
        
            10k
            views
        
    How to increase the height of the cell in a tableview in iphone?
                I am new to iphone development.I am parsing a xml file and displaying the title, date, view and summary  in each row of a table.The contents of summar is big ,so only first 3 words are displayed in ...