Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 14 total
Thread Label Justify
Thu, Sep 27 2018 4:28 AMPermanent Link

Pasquale

Web Pos srl

hi, is there a way to justify the text?
I tried with a TBrowser but I can not handle responsive, is there a way to make a label justified?
Thu, Sep 27 2018 5:03 AMPermanent Link

Matthew Jones

Pasquale wrote:

>  is there a way to make a label justified?

A quick check shows not, but CSS supports it. Doesn't look hard to add yourself - search for CSS_VALUE_LEFT and caLeft. Hopefully Tim can add this sometime too.

--

Matthew Jones
Thu, Sep 27 2018 12:06 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< A quick check shows not, but CSS supports it. Doesn't look hard to add yourself - search for CSS_VALUE_LEFT and caLeft. Hopefully Tim can add this sometime too. >>

I can't remember why it was left out, but there was some issue with it in one of the browsers.  I'll have to double-check and see what the issue was.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Sep 27 2018 12:38 PMPermanent Link

Uli Becker

Pasquale,

> hi, is there a way to justify the text?

I use a THTMLLabel component with a style tag. Try this:

Format.Wrap:= true;

Autosize.Height := true;

Content := '<div style="text-align: justify;">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet...';

Uli
Fri, Sep 28 2018 3:37 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> with it in one of the browsers

Time to ditch it! I saw some big company saying IE was no longer supported the other day. At all. Sure, it might work, but not going to care if it doesn't.

--

Matthew Jones
Tue, Oct 2 2018 3:34 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Time to ditch it! I saw some big company saying IE was no longer supported the other day. At all. Sure, it might work, but not going to care if it doesn't. >>

The IDE still uses it, so until I can get that replaced, we're still stuck with at least IE11.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Oct 3 2018 9:55 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> The IDE still uses it, so until I can get that replaced

I embedded the Chromium browser quite successfully years ago into an application that just displayed an EWB app as the UI. I suspect you do more with it though - perhaps for 3.1?.

Still, IE11 as a minimum is probably a step up.

--

Matthew Jones
Wed, Oct 3 2018 12:36 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I embedded the Chromium browser quite successfully years ago into an application that just displayed an EWB app as the UI. I suspect you do more with it though - perhaps for 3.1?.  >>

It's coming sometime soon, but I haven't decided on Chrome vs. embedded Edge.  The big issue is that using Chromium will increase our download/installation size by a factor of 6, whereas Edge already exists on the platform.  The main determining factor will be if I can get hook into the debugger in Edge/ChakraCore.  I *know* that I can do so with Chromium embedded, but I still need to do some experimentation for Edge.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Oct 16 2018 5:12 AMPermanent Link

ooptimum

Tim, I am still using Windows 7 and Windows 8.1, and not going to change that. Don't switch to Edge, please.

<<whereas Edge already exists on the platform.>>
Tue, Oct 16 2018 6:25 AMPermanent Link

Matthew Jones

ooptimum wrote:

>  I am still using Windows 7 and Windows 8.1, and not going to change that. Don't switch to Edge, please.

I was pondering whether to say it is time to get with the times, and then I remembered that my core dev machine is still on Windows 7 too. 8-) My new project VMs are all Windows 10 now (it's much better with all the updates applied), but older VMs are stuck in the past. Chromium embedded would presumably solve the cross platform issue, at the cost of larger size. Size doesn't matter to me...

--

Matthew Jones
Page 1 of 2Next Page »
Jump to Page:  1 2
Image