1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    2
    Vote Rating
    0
    jensschumacher is on a distinguished road

      0  

    Default BasicDialog.center()

    BasicDialog.center()


    Hi,

    I'm not certain if it is a bug or just me overlooking the obvious, but the BasicDialog.center() method doesn't seem to work for me.

    After creating the dialog following the example [1], I scroll down the page to a button at the bottom. This button calls a new method on the HelloWorld object to center the dialog. I would expect the dialog to move down to the center of the screen recognizing the scroll-bar offset, but unfortunately this doesn't seem to work.

    Does anyone else have troubles with the center method?

    Cheers,
    Jens


    [1] http://www.yui-ext.com/deploy/yui-ex...log/hello.html

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    What version are you running?

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    2
    Vote Rating
    0
    jensschumacher is on a distinguished road

      0  

    Default


    Sorry should have added the version information in my original post.

    I'm running version 0.33 and tested on Safari and Firefox. Instead of moving the box to the center it briefly flickers and disappears if I remember correctly. Let me know if you want me to mock up an example or provide any additional information.

    Cheers,
    Jens

Similar Threads

  1. Documentation center.
    By Dams in forum Sencha Cmd
    Replies: 6
    Last Post: 27 Aug 2008, 12:36 PM
  2. BasicDialog.center() does not work
    By schmidetzki in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 10 Feb 2007, 12:22 AM
  3. Need a BorderLayout with no center
    By CableDawg in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 25 Jan 2007, 1:00 AM
  4. Documentation Center .2 is up!
    By jack.slocum in forum Ext 1.x: Help & Discussion
    Replies: 23
    Last Post: 22 Nov 2006, 8:29 AM
  5. The new Documentation Center - Check it out!
    By jack.slocum in forum Ext 1.x: Help & Discussion
    Replies: 18
    Last Post: 17 Nov 2006, 9:56 AM

Thread Participants: 1