protected void buildFreshLayout() {
		if (baseOffset < 0)
			throw new IllegalStateException("Hex row refreshed in unsupported context");

		lastConfigHash = config.hashCode();
		int rowLength = config.getRowLength().getValue();
		int rowSplit = config.getRowSplitInterval().getValue();
		int addressWidth = Integer.toHexString(rowCount.get() * rowLength).length();
		boolean showAddress = config.getShowAddress().getValue();
		boolean showAscii = config.getShowAscii().getValue();

		ObservableList<Node> children = layout.getChildren();

		Label lblAddress;
		List<Node> contentHexLabels = new ArrayList<>();
		List<Node> contentAsciiLabels = new ArrayList<>();
		HexAccess read = ops.currentAccess();

		lblAddress = new Label(StringUtil.fillLeft(8, " ", HexUtil.strFormat(addressWidth, baseOffset) + ":"));
		for (int i = 0; i < rowLength; i++) {
			if (i % rowSplit == 0 && i < rowLength - 1)
				contentHexLabels.add(new SmallSpacer());
			int offset = baseOffset + i;
			byte b = read.getByte(offset);
			boolean outOfBounds = !read.isInBounds(offset);

			// Hex labels
			HexCellBase valueLabel = new EditableHexCell(ops, offset, b);
			valueLabel.setDisable(outOfBounds);
			valueLabel.setOpacity(outOfBounds ? 0.1 : 1);
			contentHexLabels.add(valueLabel);

			// Ascii labels
			if (showAscii) {
				char c = HexUtil.charAscii(b);
				HexCellBase asciiLabel = new EditableAsciiCell(ops, offset, b);
				asciiLabel.setDisable(outOfBounds);
				asciiLabel.setOpacity(outOfBounds ? 0.1 : 1);
				contentAsciiLabels.add(asciiLabel);
			}
		}
		setChildren(lblAddress, contentHexLabels, contentAsciiLabels);

		// Update selection so that the newly generated row will display the current selection
		// if it appears on this row.
		updateSelection(ops.navigation().selectionOffset());
	}
Updates the existing {@link HexCellBase} items in this row.
<br>
This assumes the {@link #baseOffset} does not represent the header, or the last row in the file
which are special cases and not supported.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/hex/cell/HexRow.java