<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hey everyone!<br>
<br>
I've been working on a new feature that a few of our operators
requested; changing non-text based previews in the
list-preview-widget of the slide controller so that they cap out at
a maximum height regardless of how wide the slider controller is.<br>
<br>
Currently, as you all probably know, non-text slides scale
proportionately to the width of the slide controller, which means if
the slide controller is particularly wide, you may only be able to
view a one or part of a single slide in the list preview widget at a
time.<br>
<br>
I propose adding an option to the settings that allows users to
choose to cap the maximum height of these to a desired amount.<br>
<br>
In addition, the auto-scrolling on the list is currently setup to
ensure the next slide is visible in the viewport. I propose adding
another option to the settings so that the user can select whether
they want the current, previous, or next slide to appear at the top
of the viewport when the slide is changed.<br>
<br>
I have written proof-of-concept code that implements both these
features.<br>
Currently, these features are controlled by two variables:
self.max_img_row_height (L52) & self.scroll_rel_slide (L55).<br>
The changes I've made appear in the functions replace_service_item
(L150) and change_slide (L176)<br>
<br>
The code is available for your perusal & discussion at
<a class="moz-txt-link-freetext" href="https://code.launchpad.net/~knightrider0xd/openlp/better-slide-scaling">https://code.launchpad.net/~knightrider0xd/openlp/better-slide-scaling</a>
<br>
<br>
If you all like these features, I'll be happy to create wishlist
bugs, implement them properly, write tests, bring them inline with
coding standards etc.<br>
<br>
Looking forward to your feedback.<br>
<br>
<div class="moz-signature">-- <br>
<p>Regards,</p>
<p>Ian Knight<br>
<span style="color:#666666;">0416 731 216 | <a
href="mailto:ian@knightly.xyz" style="color:#666666;"><a class="moz-txt-link-abbreviated" href="mailto:ian@knightly.xyz">ian@knightly.xyz</a></a></span></p>
</div>
</body>
</html>