Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
srikanth
Channel Surfer

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
Tasevski
Binge Watcher

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

srikanth
Channel Surfer

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 3
chaklasiyanikun
Roku Guru

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
Tasevski
Binge Watcher

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]
	})
srikanth
Channel Surfer

Re: How to change epg grid channel height

Jump to solution

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

0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!