Widgets, layouts and transitions

A layout splits the screen into zones. Widgets are the live parts you put in them: a clock, the weather, a news ticker. A transition is a widget too, and it works in the zone you put it in. This guide shows how the three fit together, using a real ScreenTinker 3.0 server. The café in the pictures is invented.

In short:

  1. Make a layout with the zones you want (Layouts).
  2. Make your widgets (Widgets).
  3. In a playlist, pick the layout, add your pictures and widgets, and choose a Zone for each one.
  4. For a transition, make a Transition widget, add it to the same playlist, and put it in the zone it should affect.
  5. Publish the playlist.

What a layout and zones are

A layout is a plan of the screen: a big area for pictures, a strip along the bottom for a ticker, a corner for the clock. Each area is a zone. Every zone plays its own items, one after another, on its own timer, so the clock can stay put while the pictures change.

A layout reaches a screen in one of two ways:

One zone is the main zone. Items that you have not put in a zone play there. If you do not mark one, the largest zone is the main zone.

Make a layout

  1. Open Layouts. Either choose Use Template on one of the templates (Split, L-Bar with Ticker, Three Column, Four Quadrants and portrait versions), which makes a copy for you and opens it, or choose New Layout and give it a name. A new layout starts with one full-screen zone.
  2. Click the name at the top to rename it.
  3. Drag a zone to move it and drag its corner handle to resize it, or select it in the Zones list and type X (%), Y (%), Width (%) and Height (%) under Properties. Add Zone adds another.
  4. Give each zone a Name you will recognise later (“Clock”, “Ticker”). You choose zones by these names in the playlist.
  5. Set Fit for the pictures in the zone: Contain shows the whole picture and may leave bars, Cover fills the zone and may crop, Stretch fills it and may distort.
  6. Tick Main zone on the zone where unplaced items should go.
  7. Optional: the Portrait and 4:3 tabs arrange the same zones for screens of those shapes. Without one, those screens use the landscape zones.
  8. Choose Save.
The ScreenTinker layout editor showing a layout called Café counter with four zones named Main, Clock, Specials and Ticker. The Main zone is selected and its properties show 75 percent width, 85 percent height, Fit set to Cover and the Main zone box ticked.
A four-zone layout made from the L-Bar template: Main for pictures, Clock and Specials down the side, Ticker along the bottom.

Layer decides which zone draws on top where two overlap (picture in picture). Type (Content or Widget) is a label for you: it does not stop you putting a widget in a content zone, or the other way round.

Make widgets

Open Widgets and choose New Widget. Pick a type, fill in the form, and choose Save. Preview shows what it will look like first. The types are Clock, Weather, News Ticker, Text/HTML, Webpage, Cloud document, Social wall, Directory Board, Directory Search, Menu Board, BI Dashboard, Room Display and Transition.

The first row of widget types in the New Widget panel: Clock, Weather, News Ticker and Text/HTML.
The first of the widget types. The rest follow below them on the page.

A widget is not tied to one screen. You make it once, then add it to any playlist. When you edit a saved widget, the screens showing it update without a new publish (unless your workspace requires changes to be approved first).

A clock

Choose Clock. Set Format (12 Hour or 24 Hour) and the Timezone; the two buttons under it copy the dashboard’s or the server’s time zone. Size the time with Font Size (px) and the date with Date size (px), and set the colours to match your design. Sizes are in screen pixels, so size them for the zone the clock will sit in: a 64 px clock fits a quarter-width zone on a 1080p screen.

The New Clock form with Widget Name Counter clock, Format 12 Hour, Timezone America/Chicago, Show seconds ticked, Font Size 72, Show date ticked and Date format Full.

The weather

Choose Weather and type a Location (a city, like “Springfield”). Pick Units, Layout (Stacked or Side by side) and whether to show the city name. The widget shows live conditions for that place from an online weather service, so your ScreenTinker server needs to reach the internet for it to fill in.

The New Weather form with a Location field, Units set to Imperial, Font Size, Color, Layout set to Stacked and a Show the city name box.

A news ticker

Choose News Ticker. Paste a news site or a feed address into Website or feed address and choose Find feeds. ScreenTinker looks for the site’s feeds, lets you pick one, and shows its latest headlines so you can check it is the right one. Under Look, Scrolling ticker runs the headlines along a strip, and Headlines with pictures shows one story at a time. A ticker belongs in a wide, short zone.

The New News Ticker form after Find feeds: one feed found, Larkspur Café news, with its four latest headlines listed, Look set to Scrolling ticker and Font Size 34.
The feed here is the invented café’s own. The server reads the feed, not the screens.

For a box of text such as today’s specials, a Text/HTML widget takes your own HTML and CSS.

Put widgets in zones, through the playlist

Widgets and pictures reach a screen through a playlist. The playlist is also where you say which zone each one plays in.

  1. Open Playlists and open (or create) the playlist.
  2. In the Layout row, pick your layout. Every item row now has a Zone picker.
  3. Choose + Add Content. Add pictures and videos from the Content tab, and widgets from the Widgets tab, with Add.
  4. New items go in the main zone, shown as Main zone (Main). Change the Zone on each row that belongs elsewhere: the clock to Clock, the ticker to Ticker.
  5. Choose Publish. Screens keep showing the old version until you do.
  6. If the playlist is not on a screen yet, open the screen’s page under Screens and choose it under Playlist.
The Add Content to Playlist dialog on its Widgets tab, listing widgets such as Café news, Counter clock, Loyalty offer and several transitions, each with an Add button.
A playlist called Counter screen with the Café counter layout picked. Four pictures and a Spectrum Sweep transition are in the main zone, the Counter clock in Clock, two text widgets and a Film Advance transition in Specials, and the Café news ticker in Ticker.
Each row’s Zone says where it plays. The small map next to the layout counts the items in each zone.

A zone with one item shows it all the time. A zone with several plays them in turn, each for its Duration. Zones do not wait for each other.

The playlist playing in the web player: a poster for a flat white fills the main zone, a clock reading 6:45 PM and a loyalty card offer fill the right-hand column, and a news ticker scrolls along the bottom.
The same playlist on a screen: the web player in a browser tab, paired like any other screen.

Before a publish, ScreenTinker checks for things that will be hard to read on the screen. When it first published this playlist, it warned that the clock’s date was too small to read from 3 m away, and said how much bigger to make it.

Transitions

A transition is how one item gives way to the next: a dissolve, a sweep, a glitch. In ScreenTinker it is a widget that you add to the playlist like any other. It never appears on the screen as an item of its own. It changes how the other items in its zone arrive.

Make a transition

  1. In Widgets, choose New Widget and then Transition.
  2. Under Effect, tick one effect, or several. With several, the player picks one of them at random each time an item changes.
  3. Click an effect’s name to preview it. Play runs it, and the slider stops it at any point. Its Parameters sliders change how it looks, and the preview shows the change at once.
  4. Set Duration (ms): from 150 to 3000 milliseconds. The default is 800.
  5. Set Applies to (next section) and choose Save.
The New Transition form. Spectrum Sweep is ticked in the Effect list, the preview is stopped halfway with a bright band sweeping from one placeholder picture to the next, its four parameter sliders are shown, Duration is 1200 ms and Applies to is Every item in the playlist.
The preview uses the same code as the players. Upload a .glsl adds your own effect to this workspace.

Put it in the zone it should affect

Add the transition to the playlist from the Widgets tab, then set its Zone to the zone whose items should use it. A transition only affects the items in its own zone. In the playlist above, the Spectrum Sweep sits in the main zone, so the pictures there sweep in; the clock and the ticker are untouched. Its Duration field does nothing: it takes no time in the running order.

A transition’s settings are copied into the playlist when the playlist is published. So unlike other widgets, an edit to a transition does not reach the screens on its own, and the playlist does not offer Publish for it either. After editing one, make a change to the playlist (for example, remove the transition, add it again and set its zone) and publish.

In a playlist without a layout, the whole screen is one zone, and one transition covers everything.

The main zone of the Counter screen playlist halfway through a Spectrum Sweep: a bright vertical band crosses from a cinnamon bun poster to a flat white poster, while the news ticker below keeps scrolling.
The Spectrum Sweep in the main zone, on the Raspberry Pi and Windows player. The ticker in its own zone carries on.

“Every item” or “Only the next item”

So for one effect everywhere, use one “every item” transition per zone. For a different effect at one spot, add an “only the next item” transition just above that item.

A wipe in each of four zones

Each zone needs its own transition. To get a wipe in all four zones of a Four Quadrants layout, add four transitions to the playlist and put one in each zone. They can be the same effect or four different ones. Below, each quadrant has two pictures and its own effect, and they all change at once because every picture has the same duration.

A screen split into four quadrants, each halfway through a different transition: blocky digital noise top left, horizontal scan lines top right, vertical glitch streaks bottom left and coloured squares bottom right.
Four zones, four transitions: Trace Route, Van Eck, Pixel Sort and Etch, on the Raspberry Pi and Windows player.
Three moments of the same change side by side: early, halfway and nearly finished, with each quadrant finishing at its own pace.
Early, halfway, almost done. Each zone runs its transition on its own.

The Transition button on selected items

In a playlist, tick some items and choose Transition in the bar above them. A box lists your transition widgets by number; type the number (or the name). ScreenTinker then adds that transition directly above each item you ticked, in that item’s zone. Use it with an Only the next item transition to give just those items that effect. With an Every item transition, the result is the same as adding it once to each of those zones. If you have no transition widgets yet, it says “No transition widgets in this workspace”.

Full screen

A full-screen playlist in the web player halfway through a Spectrum Sweep from a sourdough poster to a flat white poster.
A playlist with no layout, in the web player: one transition for the whole screen.

Which players draw what

Players draw transitions between pictures and videos. Whether they draw them inside a layout’s zones depends on the player. This is what the player code does today:

PlayerFull screen (no layout)Inside layout zones
Raspberry Pi, Windows and Mac (native player)Your effectYour effect, in each zone
Android TV, Fire TV and Android panelsYour effectYour effect, in each zone (from 3.0.1)
Web player (a browser, ChromeOS)Your effectPlain cut
Samsung TizenYour effectPlain cut
LG webOSAs the web player, where the panel can run itPlain cut
BrightSignAs the web player; may cut over videoPlain cut
Fire TV Stick 4K Select / HD (Vega)Picture to picture only; cuts when a video is involvedPlain cut
RokuA cross-fade, at your durationA cross-fade, at your duration

Troubleshooting

My transition does nothing

My widget does not show

Try it on your own screens

Start a 14-day Pro trial on hosted ScreenTinker: up to 15 screens, no credit card. Every widget, layout and transition here is included.

Start your free trial View on GitHub

Or self-host it on your own server, free for any number of screens.