summaryrefslogtreecommitdiff
path: root/redo/table_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-13 16:49:30 -0400
committerPietro Gagliardi <[email protected]>2014-08-13 16:49:30 -0400
commitc167753bd93b62af765b1805f1659dea946dcb65 (patch)
tree311e510f0af5d3705e7f023232a9dc84c62ddf1d /redo/table_windows.go
parent1c5f09d49e034000ffb9a845a6f19c8db6507b75 (diff)
Removed TODO about Windows Table sizing; the alternatives just don't work (literally).
Diffstat (limited to 'redo/table_windows.go')
-rw-r--r--redo/table_windows.go3
1 files changed, 2 insertions, 1 deletions
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
)