Review Request 126160: Wizard: Set minimum size of window to ensure entire PIN is visible

Martin Klapetek martin.klapetek at gmail.com
Wed Nov 25 17:35:13 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126160/#review88839
-----------------------------------------------------------


As you don't implement your own sizeHint() in the wizard - can you be sure that QWizard::sizeHint() will always return sensible value?

As an alternative, you could just scale the font to always fit the wizard. That would also help with resizing the window (for whatever reason).

- Martin Klapetek


On Nov. 25, 2015, 6:03 p.m., David Rosca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126160/
> -----------------------------------------------------------
> 
> (Updated Nov. 25, 2015, 6:03 p.m.)
> 
> 
> Review request for Plasma and Martin Klapetek.
> 
> 
> Bugs: 355798
>     https://bugs.kde.org/show_bug.cgi?id=355798
> 
> 
> Repository: bluedevil
> 
> 
> Description
> -------
> 
> Set the minimum window size to be twice the width of PIN label.
> 
> 
> Diffs
> -----
> 
>   src/wizard/pages/pairing.cpp 6d1eac0 
> 
> Diff: https://git.reviewboard.kde.org/r/126160/diff/
> 
> 
> Testing
> -------
> 
> The window gets resized now if there is not enough free space for PIN.
> 
> 
> Thanks,
> 
> David Rosca
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151125/ad584a25/attachment.html>


More information about the Plasma-devel mailing list