Adjust Frame Layout in HTML Report

Started by RichM, October 01, 2024, 14:23:47 PM

Previous topic - Next topic

RichM

Looking to if it is possible to adjust the default/starting layout of the Frames in the generated HTML Report.
(is this in the template that generates it?  Or in the result JS/CSS?)

- Make sure the Model Content and Views are "Collapsed"
- Have the horizontal slider higher in the screen. Give more space for the Descriptions and properties.
(See image for what this would look like)


Phil Beauvoir

Hi,

TBH I don't know which of the JS/CSS files are responsible for setting the position of the slider as I didn't write this part of the code. I had a quick play around but couldn't find where this was set.

All of these files are in the Archi/plugins/com.archimatetool.reports_5.4.2.202409190835/templates folder.

Phil
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

RichM

I found out how to set the starting height of the Panel that shows the description and properties of elements.
- it is in the model.js file
- in the following section.. change the 250 to a larger number (say 600). And then the separator bar starts a a higher postion.

 west__childOptions: {
      maskContents: true,
      south: {
         minSize: 100,
            size: 250,
            spacing_open: 8
         },
         center: {
            minSize: 50,
            onresize: "setRootPanelHeight"
         }
    }
  });