]> sigrok.org Git - pulseview.git/commitdiff
View: Optimize header pane sizing
authorSoeren Apel <redacted>
Sun, 4 Jun 2017 20:11:59 +0000 (22:11 +0200)
committerUwe Hermann <redacted>
Mon, 5 Jun 2017 15:17:40 +0000 (17:17 +0200)
Before, the header pane didn't resize to accomodate all signals
when a new session was created and a driver selected (e.g. demo).
To fix this, the header pane autosizing was put in a method of
its own and is now called when new signals are added.

Also, the name of header_fully_visible() needed adjustment
because it also returned true when it *wasn't* 100% visible
due to the margin of error that we permit. It's now called
header_was_shrunk() and its return value logic inverted.


No differences found