Alec tipped me to look at the rcube_template::button method, which
handles the use of labels. Unfortunately with those icons that are
created as a "link" type, no label is possible. When I specify no type
(like in the #taskbar div), there's no change. Perhaps some
inheritance or overriding is done elsewhere that changes this
behaviour for the #mailboxcontrols div. I haven't really found the
time to look into this. Perhaps some CSS tweaking in a plugin could do
the trick, in combination with javascript DOM manipulation. I'd love
to use a plugin which changes the default behaviour. Plugins like that
make upgrades very easy.
Perhaps I'll spend some time on a plugin that uses javascript to
change some of those elements in the DOM. I like the icons, they add
something to the user experience, instead of only text labels. But
only icons, that's not really an improvement for user experience. And
user experience is one of the main features that sets RC apart from
all the other webmail clients.
Br.
Dennis
Op 22 apr 2010, om 18:17 heeft Emerson Pinter het volgende geschreven:
I use labels in all buttons, all screens. I have one div after "<roundcube:container name="toolbar" id="messagetoolbar" />" and a roundcube:container (exclusive for the labels) inside this div. In this div there's one <span> (with the
label) for each button. If I need to add a new button from a plugin (example, archive plugin), I have to modify the plugin to add the label inside
my label container (is positioned after all existent labels). The label positions are controlled using clear and float attributes.-- Emerson Pinter
On Thu, 22 Apr 2010 09:44:43 +0200, Dennis Ortsen dortsen@gmail.com wrote:
Hi everyone,
I guess it's been discussed before, but I can't find any recent (last 6 months) discussions about it: text labels around (besides, below) images/icons in the default skin. We're using 0.3.1-stable BTW.
The only icons that have text labels besides them are in the #taskbar div at the top right of the default skin. Judging from the template for the taskbar, I would guess its pretty easy to add text labels on other icons. For instance around those in the #mailboxcontrols div. Instead of the default:
<roundcube:button command="expunge" type="link" title="compact" class="buttonPas expunge" classAct="button expunge" classSel="button expungesel" content=" " />
I added label="expunge":
<roundcube:button command="expunge" label="expunge" type="link" title="compact" class="buttonPas expunge" classAct="button expunge" classSel="button expungesel" content=" " />
Adding a label tag doesn't have any result, though the same syntax is used in the #tasbar:
<roundcube:button command="mail" label="mail" class="button-mail" />
What am I missing here?
thanks in advance,
Br.
Dennis _______________________________________________ List info: http://lists.roundcube.net/dev/
Esta mensagem pode conter informações confidenciais, privilegiadas
ou privadas. Caso não seja o destinatário, favor apagá-la e notificar o remetente. Saiba que o uso impróprio das informações existentes é estritamente proibido, sendo tratado conforme as normas da empresa e a legislação
em vigor.
List info: http://lists.roundcube.net/dev/