Results 1 to 3 of 3

Thread: Toolbar At Bottom of Container

  1. #1

    Default Toolbar At Bottom of Container

    After upgrading from EXTJS 1.1 to 2.0 my toolbar which was displaying inside the container div at the desired place is now falling to the bottom of my container as opposed to where my toolbar div is located.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    Can't guess without seeing some code.

  3. #3

    Default

    Ha... thought you would say that. I tried to follow the instructions on the toolbar example. Anyways, I figured it out. I had a div that contained the toolbar and other stuff. The toolbar div was at the top of all the other stuff. In ext 1.1 it would show at the top of the div. In ext 2 if feel to the bottom. The solution: Add another toolbar container div that just surrounds the toolbar. See code below for example...

    EXTJS 1.1 Toolbar would show top 2.0 would show at bottom
    Code:
    <div id="container">
      <div id="toolbar"></div>
      <h2>Stuff</h2>
      <br/>
      <br/>
      <br/>
      <p>More Stuff</p>
    </div
    Fix

    Code:
    <div id="container">
      <div id="toolbar-container">
        <div id="toolbar"></div>
      </div>
      <h2>Stuff</h2>
      <br/>
      <br/>
      <br/>
      <p>More Stuff</p>
    </div

Posting Permissions

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