Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 8

How to change epg grid channel height

Jump to solution

I am using EPGGrid component and I am able to change channel width using channelInfoWidth but i am unable to change channel Height, is there any parameter to change channel Height.

0 Kudos
2 Solutions

Accepted Solutions
Level 8

Re: How to change epg grid channel height

Jump to solution

I've been able to change the channel height with itemSize property. It seems to be undocumented tho, so I'm not sure if that's going to be modified somehow in the future.

	m.timeGrid.setFields({
		contentStartTime: t,
		leftEdgeTargetTime: t,
		numRows: 5,
		showPastTimeScreen: true,
		channelInfoComponentName: "EPGChannelItem",
		itemSize: [1230, 50]
	})

View solution in original post

Level 8

Re: How to change epg grid channel height

Jump to solution

@Tasevski, Thanks for your reply, working as expected.

View solution in original post

0 Kudos
3 Replies

Re: How to change epg grid channel height

Jump to solution

Currently, TimeGrid not provides any parameter to change channel height. They managed internally. maybe they provide in the future version. But, It's not possible to change only channel height. It will possible to change both(channel and program) height. Because With changed only channels height. It's inaccurate with program height.

0 Kudos
Level 8

Re: How to change epg grid channel height

Jump to solution

I've been able to change the channel height with itemSize property. It seems to be undocumented tho, so I'm not sure if that's going to be modified somehow in the future.

	m.timeGrid.setFields({
		contentStartTime: t,
		leftEdgeTargetTime: t,
		numRows: 5,
		showPastTimeScreen: true,
		channelInfoComponentName: "EPGChannelItem",
		itemSize: [1230, 50]
	})

View solution in original post

Level 8

Re: How to change epg grid channel height

Jump to solution

@Tasevski, Thanks for your reply, working as expected.

View solution in original post

0 Kudos