Add an icon size setting for the home grid and the app drawer
Launcher / test (pull_request) Successful in 1m29s
Launcher / apk (pull_request) Skipped

Slider (70-160%, step 5) with Small/Medium/Large presets and a live preview in the
home menu. Icon, label and row height scale together; the home and drawer column
counts reflow; the size is saved in localStorage; a corrupt saved value is logged
and shown, not silently replaced. 100% is the original layout.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-24 22:32:50 +00:00
1 parent 3070db4fb4
commit 23317b949a
22 files changed
+901 -51

No files matched your search

+41 -5
View File
@@ -6,13 +6,15 @@ import {
}
// Values
pub fn box(Cell, Double) -> (Double, Double, Double, Double)
pub fn box(Cell, Double, ch? : Int32) -> (Double, Double, Double, Double)
pub fn cell_at(Double, Double, Double) -> (Int32, Int32)
pub fn cell_at(Double, Double, Double, ch? : Int32) -> (Int32, Int32)
pub fn cell_height(Int32) -> Int32
pub let cell_px : Int32
pub fn cell_under(Double, Double, Double) -> (Int32, Int32)?
pub fn cell_under(Double, Double, Double, ch? : Int32) -> (Int32, Int32)?
pub fn clear_cells(Array[Slot], Int32, Int32) -> Unit
@@ -22,23 +24,57 @@ pub fn column_width(Double, Int32) -> Double
pub fn columns_for(Int32) -> Int32
pub fn css_factor(Int32) -> String
pub fn drawer_columns(Int32, Int32) -> Int32
pub let drawer_icon_px : Int32
pub fn fit(Double, Int32, Int32, Double, Double, Int32, Int32) -> Int32
pub fn home_columns(Int32, Double, Int32) -> Int32
pub let home_icon_px : Int32
pub let min_cols : Int32
pub fn move_slot(Array[Slot], Int32, Int32) -> Unit
pub fn pack(Array[Slot], Int32, Int32, hidden? : (Int32) -> Bool) -> Packed
pub fn parse_scale(String) -> Result[Int32, String]
pub fn pin(Array[Slot], Int32, Int32, Int32, Int32, Int32) -> Unit
pub let row_gap : Int32
pub fn rows_fit(Double) -> Int32
pub fn rows_fit(Double, ch? : Int32) -> Int32
pub let scale_default : Int32
pub let scale_large : Int32
pub let scale_max : Int32
pub let scale_medium : Int32
pub let scale_min : Int32
pub let scale_small : Int32
pub let scale_step : Int32
pub fn scale_valid(Int32) -> Bool
pub fn scaled_columns(Int32, Int32, Double, Int32, Int32) -> Int32
pub fn scaled_px(Int32, Int32) -> Int32
pub fn span(Int32, Double, Double) -> Double
pub fn widget_cols(Int32, Double, Int32) -> Int32
pub fn widget_rows(Int32) -> Int32
pub fn widget_rows(Int32, ch? : Int32) -> Int32
// Errors