content-viewers.rst 1.2 KB

1234567891011121314151617181920212223
  1. .. include:: ../_header.rst
  2. Content viewers
  3. ---------------
  4. Viewers are elements to show structured data. In the major of the cases, these elements have a text and an icon. The icon could be a regular icon or a thumbnail image, an in-line preview of the element. It is the case of image files, scene files, asset pack elements like atlases, and sprite-sheets.
  5. All viewers share a common set of features:
  6. * You can zoom in/out the images. Press the ``Ctrl`` key and roll the mouse wheel.
  7. * The viewer can have a tree layout or a grid layout. In the case of the grid layout, if you zoom out enough, it will switch to the tree layout.
  8. * You can filter the content of the viewer, displaying only the items with a label that matches the text in the search box. If you clean the search box, all items are shown.
  9. * Both, the grid and tree layout, allow collapsing/expanding the items. With the ``Space`` key you collapse/expand the selected item. With the ``C`` key you can collapse all the items.
  10. .. image:: ../images/misc-viewers-1-05032020.webp
  11. :alt: Viewers. Filtering and zooming.
  12. .. image:: ../images/misc-viewers-2-05032020.webp
  13. :alt: Gird layout of the viewer.