Skip to content
← All insights

Visual editing6 min read

Edit an AI-generated screen without another prompt

Diagnose a cramped profile header, select the right layer, and make a precise visual correction you can verify at two widths.

A cobalt control positioned on a transparent alignment grid.

Find the layer that owns the spacing before changing a number. A parent layout and a child image solve different problems.

An AI-built appointment screen looks almost right. The client’s profile photo sits too close to their name, while the area beneath the header looks unusually empty. Asking for “more space everywhere” could rearrange the whole screen. You can often fix this by identifying the element that owns the gap and changing one property.

Read the header as a set of boxes

In Design, open Layers and find the header, photo and text beside it. Select each in turn and watch the selection outline. If selecting the picture outlines the whole header, you are one level too high. If shrinking the image does little to the gap between the name and the next section, inspect the containing layout. Compare the distance from photo to name with the distance from the header to the screen edge. They often belong to different elements.

Before editing, note the width where you saw the problem and what should remain aligned. For example, “The photo edge and first appointment card share a left edge. Preserve that edge and increase only the distance between photo and name.” That sentence is precise enough to give to a colleague or to Sanic AI.

Rebuild a small header you can measure

Use a spare page to make a horizontal row. Rename the row Profile header, add an Avatar and a Text component inside it, and give the label a recognisable name such as Alexandra Montgomery-Rivera. Open Layers and look at the indentation. The Avatar and Text should be siblings underneath Profile header. If one is at the same level as the row, adjusting the row’s gap will only affect the child it actually contains. A page can look nearly identical in the two arrangements until someone edits it.

These are two views of the same example in Appsanic. The first shows the two children in Layers. The second shows the parent selected in the Inspector with a side-by-side layout and Space between items set to 20 px. As a quick experiment, record your starting value, change it to 20 and commit the field. If you see the name move away from the avatar while the left edge of the row stays put, you have identified the control that owns the gap. Keep or restore the value after you inspect the result at the actual reading size.

Change one property you can explain

Use the Inspector to find the layout property the selected component supports. Adjust space between items when two children belong in a row. Adjust inner spacing when both items need room inside a boundary. Change the photo’s size when the photograph itself is too large. If a property is absent, examine the containing layout before adding a spacer that somebody will later have to maintain.

Switch to Preview after the edit. The outline around a selected element can disguise a small misalignment. Also try the profile control if it has an action. The visible photo and the region that accepts a tap should feel like the same object. If the edge intercepts an adjacent button, investigate the layer bounds.

Try a harder name

Replace “Alex” with “Alexandra Montgomery-Rivera”. Try a narrow phone and a wider one, then restore the original name. Look for three failures: text covers the photo, the header grows over the next card, or an action on the far side becomes unreachable. If only the long version fails, another small spacing tweak may never be enough. Make a deliberate wrapping or stacking decision.

For example, let the name move onto a second line, keep the appointment action below the header, and ask the tester whether they can still recognise whose appointment they are opening. If the name is the only way to distinguish two clients, truncating both to the same prefix is a costly way to save a line.

Look at the selection outline around the completed example. It encloses the initials and the name as a group. The initials have their own fixed visual footprint while the text needs room for a hyphenated surname. The outline makes a useful temporary ruler. First compare its left edge with the avatar. Then compare the avatar’s right edge with the start of Alexandra. Those are two different distances. If both increase after a change, check whether you edited the parent’s inside spacing as well as its gap.

Appsanic canvas shows the selected Profile header row containing a circular AB sample avatar and the complete name Alexandra Montgomery-Rivera.

The initials in this example are the Avatar’s sample content. In a customer-facing project, verify that they come from the same person as the adjacent name. A reused label can create a tidy header that still identifies the wrong client. Try two appointments in succession, one with an uploaded portrait and one using initials. Leave the page between visits. The location of the header should remain steady as the content changes, and each visit should show the correct identity without requiring an extra tap.

Decide when to give the job back to AI

A manual correction works well for a gap, crop or label where the result is visible. Use a prompt for a rule across several places, such as making every appointment card place time above location. Tell the assistant which header you corrected and ask it to preserve it. After the change, inspect one existing card, one new card and your corrected header.

Finish by writing down the last value you changed and the two widths you checked. When another header later appears cramped, you have a repeatable diagnosis. You also have a small, genuine before-and-after you can show someone considering an AI builder: the assistant produced the first screen and the person building the app still controlled the last few pixels.

Change three cards together without changing their actions

Suppose the profile header now fits, but the times on three appointment cards are too faint. Open Layers and select the three time labels together. The Inspector shows properties the selection shares. If the colour control you need disappears, inspect the selection before changing anything. It is easy to include the card container when you meant to select the text inside it. Use Selected layers to reach an individual layer.

Choose a readable text colour for this selection and compare all three labels in Preview. Tap the middle card and confirm that it still opens the middle appointment. If you changed an extra label, undo once. An Inspector change applied across a selection is a single history step. Select the intended three labels again and repeat the correction.

This choice matters when a fourth card is added. Editing three selected labels fixes those three labels today. If every future card must follow the same arrangement, consider a reusable visual component with linked copies. Check the guide’s distinction between what linked copies share and what each copy can change before converting cards with different content.

Explore the Inspector

Published

Analytics cookies

With your OK, we use Google Analytics to count visits and see which pages people find useful. It sets cookies and sends Google details of your visit, such as the pages you open. Nothing loads unless you accept. Cookie Policy