Results 1 to 2 of 2

Thread: 6.6 Modern Toolbar Runtime Docking

  1. #1
    Sencha Premium Member volkans80's Avatar
    Join Date
    Mar 2012
    Location
    Ankara, Turkey
    Posts
    88
    Answers
    2
    Vote Rating
    4
      0  

    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 evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,165
    Answers
    746
    Vote Rating
    988
      0  

    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
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. [CLOSED] Toolbar docking
    By huong in forum Sencha Touch 2.x: Bugs
    Replies: 4
    Last Post: 17 Jun 2012, 10:55 AM
  2. 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
  3. 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
  4. 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
  •