Removed TODO about Windows Table sizing; the alternatives just don't work (literally).

This commit is contained in:
Pietro Gagliardi 2014-08-13 16:49:30 -04:00
parent 1c5f09d49e
commit c167753bd9
1 changed files with 2 additions and 1 deletions

View File

@ -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
)