Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 17 of 17 total
Thread Formatted text - ideas?
Tue, Dec 6 2016 11:57 AMPermanent Link

Uli Becker

Tim,

> There are a lot of problems with doing this in a TBrowser (an iframe element) because of issues with borders, scrollbars, etc.

OK, understood.

> The general problem is that EWB is 100% absolutely-positioned.  It's why the performance is so snappy ...

Thanks for the detailed explanation. To have the formatted text as a
placeholder in the IDE would be ok for me, but as you explain: that
would be a lot of work and I don't expect it to happen in the near
future. Please tell me if I'm wrong. Smile

Thus my question: Have you any idea how to realize what I described (any
workaround would be much appreciated).

EWB is a fantastic tool to create websites AND apps (I don't think that
there are big limitations to create great looking and modern websites),
but IMHO it's most important to be able to display formatted text. Such
a feature really should have priority.

> The problem is that GDI+ does not support justification as a text format, thus I would need to implement it, and it's tricky because of how GDI+ performs text measurement, so it's been put on the back-burner for a while.

OK. I understand.

Thanks Uli


Tue, Dec 6 2016 12:10 PMPermanent Link

Matthew Jones

Uli Becker wrote:

>  (any workaround would be much appreciated).

I'm not Tim, but I wonder if there is a mode for the CKEditor here? You can customise it to remove the toolbar, and it allows full rich text. The method to use it in EWB is in the book.

Just a thought - not sure if it can be made read only or not...

--

Matthew Jones
Tue, Dec 6 2016 2:50 PMPermanent Link

Uli Becker

<<
I'm not Tim, but I wonder if there is a mode for the CKEditor here? You can customise it to remove the toolbar, and it allows full rich text. The method to use it in EWB is in the book.
>>

Thanks Matthew, I'll check it out,.

Uli
Tue, Dec 6 2016 3:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< Thanks for the detailed explanation. To have the formatted text as a placeholder in the IDE would be ok for me, but as you explain: that would be a lot of work and I don't expect it to happen in the near future. Please tell me if I'm wrong. Smile>>

Actually, to do a THTMLElement in the WebUI unit that could auto-size, along with a placeholder at design-time, wouldn't be *that* difficult to do.  In fact, it's pretty easy - I would effectively just have a special DOM element that contained the HTML fragment and didn't actually use absolute positioning for its dimensions.  The content measurement methods for UI elements are already virtual and easily overridden.  The only problem is that all of this has to be done by me because of the design-time support required for the "special bits".

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Dec 6 2016 3:50 PMPermanent Link

Uli Becker

Tim,

> Actually, to do a THTMLElement in the WebUI unit that could auto-size, along with a placeholder at design-time, wouldn't be *that* difficult to do.  In fact, it's pretty easy - I would effectively just have a special DOM element that contained the HTML fragment and didn't actually use absolute positioning for its dimensions.  The content measurement methods for UI elements are already virtual and easily overridden.  The only problem is that all of this has to be done by me because of the design-time support required for the "special bits".

That sounds really good - how can I convince you to do it ASAP? Smile

IMHO it would be one of the most exciting things to create great looking
websites with EWB.

<< In fact, it's pretty easy>>

OK, I'll give you a week or so. <vbg>

Thanks Uli
Wed, Dec 7 2016 2:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< That sounds really good - how can I convince you to do it ASAP? Smile>>

I can't do it in the initial 2.06 minor release - there's just too much left to do there and I need to get it out ASAP.

But, I can definitely look into handling it in another minor release after that.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Dec 8 2016 3:53 AMPermanent Link

Uli Becker

Tim,

> But, I can definitely look into handling it in another minor release after that.

I take you at your word Smile

I'll wait for this functionality to use in in a new project - otherwise
it would be too much work to change everything - is that ok?

Thanks for that - much appreciated!

Uli
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image