Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5970345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:21:43+00:00 2026-05-22T20:21:43+00:00

How can I set the row height in a Sencha Touch List object? I’m

  • 0

How can I set the row height in a Sencha Touch List object?

I’m using HTML to format the row, rows get taller with multiple lines, but how do I set the row height?

Thanks,
Gerry

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:21:44+00:00Added an answer on May 22, 2026 at 8:21 pm

    To edit the List elements default height, you have two ways to do it:

    • Create your own Sencha Theme with SASS (The official Sencha way to do it).
    • Override the Sencha Touch Theme CSS.

    In the first case you only need to edit the $global-row-height variable value like, for example.

    $global-row-height: 100px;
    

    If you want to override the CSS class directly with an additional CSS file, you can do it adding a new rule just like this:

    .x-list .x-list-item {
       min-height: 100px;
    }
    

    If you want to set the list Height of a single list you have to set your css class in this way:

    .myList .x-list-item {
       min-height: 100px;
    }
    

    and add the cls config param to your list definition like this

    var list = new Ext.List({
       cls: 'myList',
       ...
       ...
    });
    

    You can also use the list config property itemHeight,like this:

    var list = new Ext.List({
           itemHeight: 25,  //to set row height to 25 pixels
           ...
           ...
        });
    

    However, I always suggest to learn SASS. It’s really easy and it really worth learning.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how can I set HTML body's first table's first'row first's td's height using Jquery?
How can I set the row height of a custom drawn list view? Or
How can I set a column value at a specified row?
How can I set the flag FILE_FLAG_BACKUP_SEMANTICS for an fstream object? You can set
How can I get the width of a label after set its contents? No
Using VS2010 I like the feature where I can set up a region and
I have a table. The row is given specific height and overflow is set
Using Reporting Services I need to make a table where I can set the
I can set the PHP include path in the php.ini : include_path = /path/to/site/includes/
I can set data in JTable constructor, and then user can change this data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.