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 9003659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:44:24+00:00 2026-06-16T00:44:24+00:00

I have a simple Ext.ProgressBar and need to double it’s height which works but

  • 0

I have a simple Ext.ProgressBar and need to double it’s height which works but didn’t scale the progress image, just the outer box. I thought OK, maybee it is to small and can’t scale but it has a height of >800px (sencha original images).

So how can this be done?

Here’s the config

{
    xtype: 'progressbar',
    text: 'Some text',
    border: 1,
    height: 40
}
  • 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-06-16T00:44:25+00:00Added an answer on June 16, 2026 at 12:44 am

    Height of progress bar is set in style definition. You can change height by changing .x-progress-bar css class. In modern browsers (eg. Chrome) all you need to do is to change height property, because background image is definied as gradient. Example:

    // height of bar
    .x-progress-bar {
        height: 38px;
    }
    // height of text box
    .x-progress-text {
        height: 38px;
        line-height: 38px;
    }
    

    Working sample: http://jsfiddle.net/D2QYN/2/

    Another way is to attach handler to render event and set height of child elements which are not scaled verically. Example handler:

    listeners: {
        render: function(sender) {
            var height = sender.bar.parent().getHeight(true); // content height
            sender.bar.setStyle('height', height + 'px');
            sender.textEl.setStyle('height', height + 'px');
            sender.textEl.setStyle('line-height', height + 'px');
        }
    }
    

    Working sample: http://jsfiddle.net/D2QYN/3/

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

Sidebar

Related Questions

I'm an Ext veteran but have a few rather simple mobile apps i need
I have simple class with width and height member fields which define number of
I have the following very simple Ext JS 4 script which is supposed to
I have a very simple cython code which use prange , which works fine
I have this very simple CODE, which should generate me HTML, but all I
I have the simple form: myForm = new Ext.form.FormPanel({ width:'100%', frame:false, items: [ new
I have a simple radio button: new Ext.form.Radio({ id: 'ptype', boxLabel:'Yes', name: 'price_type', value:
I have a simple select query to select DOM node: var selectNode = Ext.select('.myCSSClass
Here is my .classpath file, after I have added two more external jars (org.restlet.ext.simple.jar
I have a simple Sencha Touch 2.1 model class: Ext.define('App.model.User', { extend: 'Ext.data.Model', config:

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.