Results 1 to 2 of 2

Thread: Bar in the entire cell of the grid

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Location
    India
    Posts
    307
    Answers
    1
    Vote Rating
    2
      0  

    Default Bar in the entire cell of the grid

    Hi,

    We are putting a barchart within a grid. A single bar of the barchart is shown in a cell of the grid.
    But the bar, by default, has padding and does not occupy the entire cell.

    We need the bar to occupy the entire area within the cell and there should be no margin/padding in the cell.

    Could you pls help how to achieve this ?
    Refer the attached images, to see how the bar is showing in the cell.
    Attached Images Attached Images

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Did you inspect the DOM to see what element has the margin/padding?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •