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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.