[rekonq] Review Request: Fix tab size and addTabButton position with a KMessageWidget

Andrea Diamantini adjam7 at gmail.com
Sun Sep 18 21:44:40 UTC 2011


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



src/tabbar.h
<http://git.reviewboard.kde.org/r/102651/#comment5869>

    uhm... why this "magic number"? Cannot we desume it by calling mainview.sizeHint() just once?


- Andrea


On Sept. 17, 2011, 8:27 p.m., Yoann Laissus wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102651/
> -----------------------------------------------------------
> 
> (Updated Sept. 17, 2011, 8:27 p.m.)
> 
> 
> Review request for rekonq.
> 
> 
> Summary
> -------
> 
> When a KMessageWidget appears, the sizeHint width of the MainView grows up a lot. 
> So it produces bigger tabs with an incorrect position of the addTabButton. (eg: Try to log in to Gmail)
> 
> I fixed this issue by setting a fixed max value for tab width. (MainView default width without a KMessageWidget)
> I haven't found a cleaner way to do that.
> I also removed a check which broke the addTabButton position in MainView.
> 
> Branch : git://anongit.kde.org/clones/rekonq/laissus/rekonq-clone.git fixTabSize
> 
> 
> Diffs
> -----
> 
>   src/mainview.cpp 716e8da 
>   src/tabbar.h 1949673 
>   src/tabbar.cpp 2c28573 
> 
> Diff: http://git.reviewboard.kde.org/r/102651/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Yoann
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rekonq/attachments/20110918/1f247ca1/attachment.html>


More information about the rekonq mailing list