You can do that in code... not sure if the script feature allows it too
That is one of the main reasons I create all my views in code... I use visual designer only to help me establish witch views I need and a rough positioning to have a general idea