Class ControlSizeExample

java.lang.Object
limn.demo.site.ControlSizeExample

public final class ControlSizeExample extends Object
The density axis, as one picture: the same five controls built five times and told nothing except which size step to sit at.

The point the capture has to make is that nothing else changes (no widget here is given a width, a font or a padding), so the rows are built by one loop from one builder, and the only thing that differs between them is the ControlSize set on the row.

  • Method Details

    • board

      public static Widget board()
      The comparison: one row of controls per step, separated, and nothing else.

      No title, no explanation and no legend beside the rows. A picture on the site sits inside a page that already carries its heading and its prose, and the page also names the steps in order; text rendered into the image is that text a second time, at a size the page did not choose, in a language the page cannot translate. The only words a capture may carry are the ones on the controls it is showing.

    • scene

      public static Scene scene()
      The board on a canvas, for the capture the site shows.