I was thinking about opening a new thread to talk about the device notifier,
but i found this message so i will do it here.

I think there is something wrong with this plasmoid, there is a bug report
talking about it but it's being ignored for now.
https://bugs.kde.org/show_bug.cgi?id=226710


As you see in this picture:
http://www.esdebian.org/files/esdebian.org/u26290/notificadorescritorio.jpeg
the text stands out together with the button to unmount the device, but when
it is on the panel this does not happen, making it imposible to unmount the
device as you see in this other picture:
http://www.esdebian.org/files/esdebian.org/u26290/notificadorbarra.jpeg

At the beginning, i thougth that the problem was only related with
localication languages, but after some tests, now i have another conclusion.

I think that the position of the button, depends not only on the size of the
plasmoid, because when the plasmoid is smaller than the lengh of the text of
the mainlabel, the button is alligned right and bellow  the last letter of
the text

This also happens even when it's in english  with  low resolutions and/or
too big font sizes.  I've been reading the code of the plasmoid trying to
underestand it in order to learn how to make some changes to make the button
appear always inside the plasmoid  no matter how long the length of the text
in the "m_mainlabel" is, however  i am a newbie in this matters.  The only
thing i found is this:

"category->setAlignment(Qt::AlignRight);"

 by the way why AlignRight? if you see the first picture  i think that the
label  with the description of the device "Volumen de almacenamiento"
aligned right is not the best option.

By now, i have solved "my" problem by changing the spanish translation but i
don't think that's an elegant solution:
http://www.esdebian.org/files/esdebian.org/u26290/notificadormodificad.jpeg

as you see, when the text is short enough this problem does not appear.

cheers!

Reply via email to