mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
ThumbSize::Custom(ThumbPoints) sets a list row's height in whole points. The row's square thumbnail is the row less the thumbnail padding, and the row is never shorter than its label's line. ThumbPoints clamps a value to 12..=100 when it is made and when a saved setting is read. A picture or tile of this size is that many points on a side. The named sizes keep their rows. ThumbSize::label names it "Custom". LayersOptions::thumbnail_size takes the custom size, and the Layers panel's rows draw at it. The options dialog still offers the named sizes only and keeps a custom size while none of them is picked.