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: 
raxitpandya
Channel Surfer

In TimeGrid View, i want to hide the clock.

Scenario :

  1. When timegrid load first time, clock is not getting displayed.
  2. But when i navigate to other view like search view and grid view.
  3. And when i come back to timegrid view, clock is getting displayed on top right of the timegrid view.
    Like below image
     

    image_2024_09_18T14_34_56_547Z.png

I thought it is overhang tag so i tried below way to hide this.

overhang = m.top.findNode("Overhang")
       overhangChildren = overhang.getChildren(-1, 0)
       for each child in overhangChildren
           ?"Overhang Child", child
           if child.subtype() = "Clock" then
               child.showClock = false
               'm.overhang.removeChild(child)
           end if
       next
 

but no luck. Can anyone suggest any way to hide this clock in timegrid view.

0 Kudos
1 REPLY 1
RokuKC
Roku Employee
Roku Employee

Re: In TimeGrid View, i want to hide the clock.

The image clip you provided doesn't show enough context for me to understand what you're seeing personally. 

Perhaps you could include a full screen capture, in lower resolution if necessary, to give a more complete idea?

From looking at

https://developer.roku.com/docs/references/scenegraph/list-and-grid-nodes/timegrid.md

while I don't know if that exactly reflects current Roku OS UI, I would expect that showing column time labels is completely expected. 

That is different from a 'clock' however that would show the current time minute by minute as in the Scene overhang.

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.