Setting Pane size programatically

I have two questions below and could not find any answer in documentations:

  1. How do I set the indicator pane size programatically? There seems no API of this type I can use.
  2. How can I fix the price pane size (main pane) while be able to automatically rearrange all indicator panes to equal size?

Thanks in advance for any pointer!

I don't think you can set (resize) indicator pane size programmatically yet.

Drawing useful pointers from here

The Chart Template is a very powerful feature(s) that allows as many custom needs in Local or Global Layouts that you can use and hopefully achieve your goal.

Thanks for the info!