[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: text alignment in horizonal iconwidget
From:       Sebastian =?iso-8859-15?q?K=FCgler?= <sebas () kde ! org>
Date:       2008-11-15 13:53:31
Message-ID: 200811151453.32245.sebas () kde ! org
[Download RAW message or body]

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 

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic