Review Request: Fix distance between scrollbars and text in kateView

Christoph Feck christoph at maxiom.de
Thu May 20 17:03:57 BST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4058/#review5760
-----------------------------------------------------------

Ship it!


Technically, this patch is correct and should be applied. The PM_ScrollView_ScrollBarSpacing is new as of Qt 4.5 and should be used instead.

However, you better ask Artwork and Usability team if they are OK with the smaller spacing you introduced inside Oxygen; personally I think it looks too tight.

- Christoph


On 2010-05-20 01:09:38, Hugo Pereira Da Costa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4058/
> -----------------------------------------------------------
> 
> (Updated 2010-05-20 01:09:38)
> 
> 
> Review request for Kate and kdelibs.
> 
> 
> Summary
> -------
> 
> In Kate View the distance between the text and both scrollbars is larger than in regular views, for some styles, including Oxygen (see first screenshot). This is because normal views use QStyle::PM_ScrollView_ScrollBarSpacing to calculate this distance, whereas KateView uses 2xQStyle::PM_DefaultFrameWidth. 
> 
> This tiny patch fixes this issue (see second screenshot)
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdelibs/kate/view/kateview.cpp 1127445 
> 
> Diff: http://reviewboard.kde.org/r/4058/diff
> 
> 
> Testing
> -------
> 
> see second screenshot, with oxygen. Also tested with other styles.
> 
> 
> Screenshots
> -----------
> 
> Before fix
>   http://reviewboard.kde.org/r/4058/s/402/
> After fix
>   http://reviewboard.kde.org/r/4058/s/403/
> 
> 
> Thanks,
> 
> Hugo
> 
>





More information about the kde-core-devel mailing list