From c167753bd93b62af765b1805f1659dea946dcb65 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 13 Aug 2014 16:49:30 -0400 Subject: [PATCH] Removed TODO about Windows Table sizing; the alternatives just don't work (literally). --- redo/table_windows.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redo/table_windows.go b/redo/table_windows.go index be9427e..3a7f265 100644 --- a/redo/table_windows.go +++ b/redo/table_windows.go @@ -94,7 +94,8 @@ func (t *table) allocate(x int, y int, width int, height int, d *sizing) []*allo } const ( - // from C++ Template 05 in http://msdn.microsoft.com/en-us/library/windows/desktop/bb226818%28v=vs.85%29.aspx as this is the best I can do for now... (TODO see if I can reliably get item width/height from text size) + // from C++ Template 05 in http://msdn.microsoft.com/en-us/library/windows/desktop/bb226818%28v=vs.85%29.aspx as this is the best I can do for now + // there IS a message LVM_APPROXIMATEVIEWRECT that can do calculations, but it doesn't seem to work right when asked to base its calculations on the current width/height on Windows and wine... tableWidth = 183 tableHeight = 50 )