[Xerte] Re: hover colour on status bar menus

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Aug 30 23:27:20 BST 2011


Ideally I need to nail this long before then but if I do I can obviously
talk about it at the event. 

 

I should clarify for anyone reading this thread this isn't a problem with
the current download code. It's a problem I've hit through needing a mostly
white interface but with black LO and Page title text yet white progress
indicator text. To achieve the custom interface needed I've had to make
changes to XMLFramework.fla and I think part of the problem is the need for
different colour lo and page title text to the text on the progress
indicator. The current code seems geared to the progress indicator text
being the same colour as the title text. Doesn't explain why the progress
indicator text is showing as I want it on Windows but not on Mac but as I
say I don't want anyone reading this to think there is a current
incompatibility - it's just by customisation that isn't working.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 30 August 2011 22:18
To: Xerte discussion list
Subject: [Xerte] Re: hover colour on status bar menus

 

we need to nail this down to the simplest possible example, in xerte
standalone, that exhibits the problem. Ideally I can replicate it in the
Nottingham installation.

 

If that doesn't nail it, then we explore same same in a simplest toolkits
install until we do nail it.

 

This might make a good talking point for the xerte meeting: a real good
example of how to go about troubleshooting the runtime, and understanding it
a bit more. This would be a good problem to tackle in a group like that,
where we can all see the code, and try debugging it.

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 30 August 2011 19:17u can see what I can see.
To: 'Xerte discussion list'
Subject: [Xerte] Re: hover colour on status bar menus

Hi Julian

I've got a very odd problem with this that I can't resolve :-(

 

People reported that the progress indicator page numbers weren't showing and
it turns out they're working fine on Windows but not on Mac. I'm using
http://lcmmoodle1.lcm.ac.uk/xerte/play.php?template_id=28 for testing. I've
been round the houses trying to resolve it and at the moment changed the
selectable property of the two text fields to true to verify that the font
or font size isn't the problem. If it wasn't working on both Windows and
MacOS I might understand but as it's working fine on Windows on any browser
but doesn't work on MacOS on Safari or Firefox I'm totally baffled! Changing
to one of the default themes shows the numbers on Mac just fine so it
suggests the problem is with my default theme but why would it work fine on
Windows and not on Mac! Any ideas?

 

Cheers

Ron

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 17 August 2011 16:52
To: Xerte discussion list
Subject: [Xerte] Re: hover colour on status bar menus

 

Live with it, it looks OK to me.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 17 August 2011 16:50
To: 'Xerte discussion list'
Subject: [Xerte] Re: hover colour on status bar menus

 

Thanks for your help. Haven't been able to sort that last bit yet but most
of it is working http://lcmmoodle1.lcm.ac.uk/xerte/play.php?template_id=28

Cheers

Ron 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 17 August 2011 15:24
To: Xerte discussion list
Subject: [Xerte] Re: hover colour on status bar menus

 

Look in the help for FStyleFormat object for the combo box, then use
setStyleProperty

 

Try highlight? hightlight3D? focusRectInner? focusRectOuter? They look like
the most obvious ones.

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 17 August 2011 15:18
To: 'Xerte discussion list'
Subject: [Xerte] Re: hover colour on status bar menus

 

Thanks although  I think it's textSelected e.g. the text above the hover
colour. I had that set in styles.css but what was confusing was that 

cbo.setStyleProperty("textSelected", STYLES.textSelected); didn't seem to be
working so had to set cbo.setStyleProperty("textSelected", 0xffffff);

Got it working now but just trying to find what I need to change to turn the
border of the combo boxes off so that the status bar doesn't have the box
lines?

Cheers

Ron

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 17 August 2011 13:50
To: Xerte discussion list
Subject: [Xerte] Re: hover colour on status bar menus

 

STYLES.textUnselected

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 17 August 2011 13:46
To: 'Xerte discussion list'
Subject: [Xerte] Re: hover colour on status bar menus

 

Cheers inbetween message had already got that bit working e.g. 

Changed

STYLES.titleBarColour = titleBarColour=0x84A2C6; 

to 

STYLES.titleBarColour = 0x000000;

Now I need to get the text above that to be white instead of black.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 17 August 2011 13:23
To: Xerte discussion list
Subject: [Xerte] Re: hover colour on status bar menus

 

Try setting STYLES.titleBarColour

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 17 August 2011 13:21
To: 'Xerte discussion list'
Subject: [Xerte] Re: hover colour on status bar menus

 

I've actually got titleBarColour set to black which is why all is fine when
the LO first loads. I'm drawing a white box over the top of the titlebar
area to keep that white. The problem only happens when selecting default
from the menu but I can't find where that's going wrong. :-(

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 17 August 2011 13:12
To: Xerte discussion list
Subject: [Xerte] Re: hover colour on status bar menus

 

Sorry, it's because the colour used for the selection property is the one
for titleBarColour, so you must have that set to white.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 17 August 2011 12:48
To: 'Xerte discussion list'
Subject: [Xerte] hover colour on status bar menus

 

Hi

I think I asked this once before but a long time ago and can't find it on
the archives...

 

I'm creating a custom theme which by default is mostly white. All is fine
when the LO loads and when using the status bar menus the hover effect shows
a black background with white text e.g.



 

If I select one of the other named colour schemes the hover effect works ok
too e.g.



 

However If I select default via the colour scheme menu then the hover colour
is white background and so doesn't show e.g.



 

I can't find a way to fix this either in XMLFramework or by script in the
RLT. Any suggestions?

Cheers

Ron

 

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it. Please do not
use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham. 

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110830/43a1d14c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5448 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110830/43a1d14c/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 4376 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110830/43a1d14c/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 4570 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110830/43a1d14c/attachment-0005.jpg>


More information about the Xerte mailing list