summaryrefslogtreecommitdiff
path: root/redo/table_windows.go
diff options
context:
space:
mode:
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
)