The sequencer inspector length is based on the longest action/track within it. So if you move the longest action/track to make it shorter, the sequencer total length will also automatically shorten.
Please let me know if you mean something different. Thanks : )