Expand description
The page a screen of a list is drawn on: a column of its own width, in the middle of a wide terminal.
QCode’s screens are read at a glance and often left open beside a harness. A page that spread from one edge of a wide terminal to the other would put a row’s name and its right-hand detail as far apart as the terminal happened to be wide; a page of its own width in the middle keeps them one glance apart and gives the eye one edge to start at and one to finish at. Settings and the lists of workspaces, profiles and providers stand on such a page, and so does whatever an open workspace shows in its middle in place of a terminal: a blank tab’s choices, a tab waiting for its container or refused one, a missing image and its build, a desktop harness’s window. A terminal never does: every column of it is a column the program in it can use.
The page takes the whole width of a terminal narrower than itself, so a narrow window loses nothing. The dialogs drawn over these pages keep their own widths: a layer is centred on the screen, and so is the page, so a dialog stands over the page it belongs to.
Constants§
- WIDTH
- The width a page keeps, in cells. A label, the detail on the other end of its row and the control under it read as one line at this width; the widest sentence QCode puts on a page of its own is about as long as this, so nothing wraps.