Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Custom themes
Mon, Jan 21 2013 9:52 AMPermanent Link

Matthew Jones

Any thoughts on allowing individual components to use a custom theme? Sort of like
Firemonkey I realise, where I can create multiple themes for a TPanel, and then
select one at run time. I ask because it seems like I'd want some panels to have
the header, and others not. Right now it looks as though it is one or the other,
and since I need "bannerless", it sort of forces my hand.

Not the worlds biggest problem, but would be nice given the CSS based theming.

/Matthew Jones/
Mon, Jan 21 2013 10:34 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Any thoughts on allowing individual components to use a custom theme? >>

Yes, the themes are being completely re-written.  They have to be, in order
to allow for custom components, and the underlying requirement is "select
any part style that you want".

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jan 21 2013 11:09 AMPermanent Link

Matthew Jones

I look forward to it.

I suppose it is too much to ask for expected timescales?

/Matthew Jones/
Tue, Jan 22 2013 11:30 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I suppose it is too much to ask for expected timescales?  >>

When it's done, basically.  It's a re-write of the themes and the form
designer in the IDE, so it's not a small undertaking.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jan 22 2013 11:39 AMPermanent Link

Matthew Jones

Fair enough.

/Matthew Jones/
Mon, Mar 4 2013 10:37 AMPermanent Link

Matthew Jones

Can I pick up on this - my app can't switch away from the default theme in Chrome,
even as a default. But the output includes a default.css, so surely I can just
replace the EWB default with the custom CSS and it will work?  And a test shows
that this does indeed work, but the IDE has to be set to use the default to not get
the error. The consequence of that is that the theme doesn't get visually shown, so
the layout is slightly wrong. Hmm.

Being able to use the alternatives with Chrome before the big theme update would be
nice.

/Matthew Jones/
Mon, Mar 4 2013 10:43 AMPermanent Link

Matthew Jones

Is it possible to set any theme as the default theme? This looks possible in the
IDE. Would it work?

To be clear, if I set the "modern" theme as the default, can I have that shown all
the time in the IDE and the default in the project? If so that would be an instant
fix for me.

/Matthew Jones/
Tue, Mar 5 2013 1:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Can I pick up on this - my app can't switch away from the default theme
in Chrome, even as a default. But the output includes a default.css, so
surely I can just replace the EWB default with the custom CSS and it will
work?  And a test shows that this does indeed work, but the IDE has to be
set to use the default to not get the error. The consequence of that is that
the theme doesn't get visually shown, so the layout is slightly wrong. Hmm.
>>

Yes, you can rename any EWB theme CSS to 'Default' and it will work at
runtime.

<< Being able to use the alternatives with Chrome before the big theme
update would be nice.  >>

The problem is that it's a bug in Chrome.  I've spent hours on this trying
to come up with an alternative, and none of them work 100% in a way that
would allow EWB to continue to work in the same manner that it currently
does.

Tim Young
Elevate Software
www.elevatesoft.com


Tue, Mar 5 2013 1:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Is it possible to set any theme as the default theme? This looks possible
in the IDE. Would it work? >>

Sure, you can select any theme as the default theme for the project in the
Project/Options dialog.

<< To be clear, if I set the "modern" theme as the default, can I have that
shown all the time in the IDE and the default in the project? If so that
would be an instant fix for me. >>

You can't do it for the IDE as a global setting, no.  But you can do so on
an individual project basis.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Mar 5 2013 2:01 PMPermanent Link

Matthew Jones

> Sure, you can select any theme as the default theme for the project
> in the Project/Options dialog.

But I can't - Chrome doesn't load it as it fails with the script error on null or
something. But if I switch the theme file that is actually loaded, then it does
work.

What would be ideal is if I can work out a theme that I want, then have the IDE use
it as its default. Then the alignments will all be okay etc.

That said, given your other reply, I may just hack a theme to be default compatible,
and then it won't matter.

/Matthew Jones/
Image