From 3ac3a724717dd31a053106cf13ad1265630f4124 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 16 Aug 2014 11:26:55 -0400 Subject: [PATCH] More Image List stuff. --- redo/proposals/imagelist.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/redo/proposals/imagelist.md b/redo/proposals/imagelist.md index 612c45b..87e3650 100644 --- a/redo/proposals/imagelist.md +++ b/redo/proposals/imagelist.md @@ -24,4 +24,15 @@ For Tree, there is a field ImageIndex which contains the index of the entry. Note the name of the methods on both being LoadImageList(): the image list is copied, and any future changes will **not** be reflected. (This is to accomodate check boxes in Table, which must be done manually.) -TODO appropriate size of images in an ImageList +Icons scale automatically to the best possible size. + +On Windows this is GetSystemMetrics(SM_CX/YSMICON) + +On GTK+ this will be determined by trial and error + [11:14] andlabs: probably + [11:14] GTK_ICON_SIZE_SMALL_TOOLBAR + [11:15] the procedure is to just try all of them and see what looks best :p + +On Mac OS X this is rowHeight + +TODO which side does the scaling, C or Go?