Results 1 to 2 of 2

Thread: Modern Toolkit titlePosition

  1. #1
    Sencha User
    Join Date
    Apr 2014
    Posts
    107
    Answers
    10

    Default Modern Toolkit titlePosition

    Hey together,

    is there something like titlePosition for the modern toolkit?

    I try to make a header where an image is on the left hand side and a dropdown on the right hand side. The title is in the center.
    I tried like this but it is not working:

    Code:
    title: 'My Title
    header:{
       titlePosition: 1,
       titleAlign: 'center',
       items: 
       [
          {
               // image
          },
          {
              // dropdown
          }
      ]
    }
    I know i can set left:'0 !important' to the image via css. Is this best practice?
    Thanks for your help.

    Liz

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    567
    Answers
    7

    Default

    Hello Liz,

    Thank you for contacting Sencha Support!

    No, we don't have such feature at this time but you can use the left config for now. We also have weight config, please see if this helps you in anyway.


    https://docs.sencha.com/extjs/6.7.0/...tml#cfg-weight

    Regards,
    Kumar
    Sencha Support.

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
  •