Yesterday and today, Nuno, Sho, some others and I, discussed on #oxygen
irc channel how akregator appearance could be improved. We came
following ideas, open for discussion:
1/ the right tabwidget should be invisible when the tabbar is hidden
(when there's only one tab open and when tabbarAlwaysVisible option is
unchecked), but alignment with the other widgets should be preserved. We
consequently implemented that in oxygen (as a general rule), cause
that's the only place you can easily ensure that proper margins are
calculated depending on whether the tabwidget is visible or not. (+
other apps might benefit from this)
2/ in akregator itself, the HTML view should not be in a raised box, but
rather in a sunken one, and alligned with the panel above (if any) and
the one on the left.
So I played around with the akregator code, and ended up with the
IMO, the layout is clean, well aligned, and does not need extra frames.
(ok: sho, strictly speaking, the top of the search input editor is not
aligned with the right list. This is a known and hard to fix oxygen
issue ;-) ).
I also checked that the appearance was still ok with other styles (also
for them the tabwidget is still visible).
In case people are interested, attached is a patch that implements 2/
It applies on trunk, kdepim/akregator/src.
The idea is:
- make ArticleViewer derive from QWidget and not QFrame (so that it has
- make the view contained in ArticleViewerPart sunken.
Hugo (Oxygen developper)