Results 1 to 2 of 2

Thread: Images in ExtReact components

  1. #1
    Sencha User
    Join Date
    May 2017

    Default Images in ExtReact components

    What is the recommended way of displaying images in ExtReact components?For instance, I would like to display a custom image next to the title of the ExtReact ToolBar component. How would I accomplish it?

    Thank you,

  2. #2
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015


    Generally I recommend just inserting an element with a background-image or using an img element. ToolBar is a little odd because the title is overlaid in the center so there isn't a great way to position an image next to it other than injecting html in the title itself. Here is an example showing several possibilities:

    And from the KitchenSink's TitleBar:

Similar Threads

  1. Replies: 30
    Last Post: 22 Feb 2018, 7:05 PM
  2. ExtReact box-sizing CSS
    By geniny in forum Q&A
    Replies: 6
    Last Post: 27 Jun 2017, 10:34 AM
  3. Using extReact with Extjs
    By philiparad in forum Q&A
    Replies: 1
    Last Post: 25 May 2017, 11:45 AM
  4. Sencha ExtReact is Now Available
    By mitchellsimoens in forum Q&A
    Replies: 0
    Last Post: 16 May 2017, 4:06 AM
  5. Replies: 3
    Last Post: 28 Feb 2012, 5:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts