Results 1 to 3 of 3

Thread: 6.6 Modern Toolbar Runtime Docking

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    Ankara, Turkey
    Posts
    92
    Answers
    2

    Default Answered: 6.6 Modern Toolbar Runtime Docking

    Hi,
    I want to change docking property of toolbar top to right at runtime but it is not properly rendered.

    Docs says that :

    Capture.PNG

    but it is not working.

    Thanks,


  2. If you specify `left` or `right`, the {@link #layout} configuration will automatically change to a `vbox`.
    Unfortunately, this is only true at construction time. It doesn't seem to handle it otherwise.

    Pretty easily fixed though: https://fiddle.sencha.com/#fiddle/2o7j&view/editor

  3. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258
    Answers
    759

    Default

    If you specify `left` or `right`, the {@link #layout} configuration will automatically change to a `vbox`.
    Unfortunately, this is only true at construction time. It doesn't seem to handle it otherwise.

    Pretty easily fixed though: https://fiddle.sencha.com/#fiddle/2o7j&view/editor

  4. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    Ankara, Turkey
    Posts
    92
    Answers
    2

    Default

    I just realized if i use your code i can't activate scroller on toolbar. Can you check it?


Similar Threads

  1. Docking a Toolbar against scrolling
    By breckster in forum Sencha Ext JS Q&A
    Replies: 16
    Last Post: 28 Feb 2013, 2:23 AM
  2. [CLOSED] Toolbar docking
    By huong in forum Sencha Touch 2.x: Bugs
    Replies: 4
    Last Post: 17 Jun 2012, 10:55 AM
  3. Docking (or equivalent) toolbar inside List
    By msaspence in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 15 Jul 2011, 1:43 PM
  4. How do I add a Top Toolbar to a grid at runtime
    By logicmedia in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 7 Jan 2010, 1:51 AM
  5. Toolbar in a Grid - Runtime
    By joseadriano in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 12 Mar 2009, 11:56 AM

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
  •