1. #1
    Sencha User
    参加日付
    Sep 2010
    投稿数
    44
    Vote Rating
    0
    smick is on a distinguished road

      0  

    デフォルト toggle toolbar?

    toggle toolbar?


    Hello,

    What is the proper method to show/hide a toolbar?

    Currently I have a button in one toolbar that has a handler like this:

    myForm.tbar.toggle()

    What happens though is that the tool bar disappears and leaves a white space. How can I make it go away and also collapse the space it's in?

    Thanks!

  2. #2
    Sencha User darthwes's Avatar
    参加日付
    Mar 2010
    投稿数
    633
    Vote Rating
    -11
    darthwes can only hope to improve

      0  

    デフォルト


    win.syncSize()?
    Wes

  3. #3
    Sencha - Community Support Team Condor's Avatar
    参加日付
    Mar 2007
    位置
    The Netherlands
    投稿数
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    デフォルト


    Or doLayout() if the form contains items.

類似のスレッド

  1. How to suspend toggle-event on a toolbar?
    By wuschba in forum Ext 2.x: Help & Discussion
    返信: 1
    最後の投稿: 10 Sep 2008, 02:26 AM
  2. [2.2] Toolbar and toggle button
    By lexand in forum Ext 2.x: Bugs
    返信: 2
    最後の投稿: 17 Aug 2008, 09:52 PM
  3. Ext.Toolbar.MenuButton toggle problem
    By zquirm in forum Ext 1.x: Help & Discussion
    返信: 0
    最後の投稿: 12 May 2007, 12:51 PM
  4. toggle display toolbar
    By pex in forum Ext 1.x: Help & Discussion
    返信: 6
    最後の投稿: 10 May 2007, 04:12 AM

Thread Participants: 2