]> cygwin.com Git - cygwin-apps/setup.git/commit - PickView.cc
Fix truncation of "Bin?" and "Src?" column headers
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 1 Mar 2015 14:54:03 +0000 (14:54 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 3 Mar 2015 12:48:35 +0000 (12:48 +0000)
commit23761198f34b613c8e9fa67a5b250429276a763f
tree0ebc0bd4a1f5da08aef23dc934f134b7bd467e15
parent10cac838040424571f64442a46268a410fd4ebc7
Fix truncation of "Bin?" and "Src?" column headers

It seems that the the "Bin?" and "Src? columns in the PickView are usually not
quite wide enough, and display truncated with an ellipsis, e.g. 'B...' and
'S...', which is completely unintelligible.

Try to more correctly size these colums.  3*GetSystemMetrics(SM_CXEDGE) seems to
be documented as the default value for the margin of a header control, so text
length + twice that is the minimum header width needed.

ChangeLog:

2015-03-02  Jon TURNEY  <jon.turney@dronecode.org.uk>

* PickView.cc (init_headers): More correctly size "Bin?" and
"Src?" columns.
ChangeLog
PickView.cc
This page took 0.028214 seconds and 5 git commands to generate.