private int getTabOffsetFor(RunnerContentUi ui) {
    int offset = tabs.getTabCount();
    for (RunnerContentUi child : myChildren) {
      if (child == ui) break;
      offset += child.tabs.getTabCount();
    }
    return offset;
  }
private int getTabOffsetFor(RunnerContentUi ui)