text alignment in horizonal iconwidget
Sebastian Kügler
sebas at kde.org
Sat Nov 15 14:53:31 CET 2008
On Saturday 15 November 2008 13:51:36 Sebastian Kügler wrote:
> On Saturday 15 November 2008 07:07:17 Aaron J. Seigo wrote:
> > On Friday 14 November 2008, Sebastian Kügler wrote:
> > > I'm using the IconWidget in the networkmanager plasmoid and in the
> > > battery plasmoid. In both cases in horizontal layout, see the list of
> > > wlans, and the sleep/hibernate/more buttons in the battery:
> > > http://imagebin.ca/view/owpmlw3q.html
> >
> > are you calling setOrientation(Qt::Horizontal) on the IconWidgets?
>
> Yes, that makes the text go to the right of the icon in the first place.
BTW, forgot to mention that this alignment towards icon should also depend on
RTL, if I understand iconwidget's code correctly, it'll put the icon to the
right in those case, so the text should also be right-aligned then. Having the
text centered mitigates this of course.
But first, we'll need to have the text aligned at all.
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list