NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on September 24, 2017, 10:23:32 PM

Title: Right Justify on browse fields stopped working in NT10
Post by: terryd on September 24, 2017, 10:23:32 PM
Subject says it all.
Image 1 application compiled with 9.31
Image 2 application compiled with 10.03
Image 3 application compiled with 10.06
Image 4 application compiled with 10.06 Image 5 setting for Image4 in field CSS setting
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Robert Iliuta on September 25, 2017, 02:17:16 AM
confirmed. I reported already to Bruce.
All about this is because in NT10 was introduced nt-flex property. If you disable that all will work but is not recommended.
I did not find a workaround for this for the moment...I think Bruce has to make an update to template to fix this.

Robert
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: peterH on September 25, 2017, 04:17:56 AM
There's also a problem now with lookup buttons - probably for the same reason.

Peter
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Bruce on September 25, 2017, 06:00:44 AM
>> Re: Right Justify on browse fields stopped working in NT10

fixed in 10.07

>> There's also a problem now with lookup buttons - probably for the same reason.

check with 10.07 Peter, and also let me know what theme you are using.

cheers
Bruce
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: peterH on September 27, 2017, 12:53:23 AM
Hi Bruce,

Tried with 10.07 - same problem. The lookup button overlaps the entry field and appears a bit lower on the line. Looks like x-pos is too small and y-pos too big.
Using the ShoeStrap2 theme.

Peter
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Bruce on September 27, 2017, 04:18:49 AM
Hi Peter,

I tried in the examples, and it seems ok.
Can you maybe post a screen-shot?

Cheers
Bruce
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: peterH on September 27, 2017, 04:22:37 AM
Already did ;-) Look further up in the thread.

Peter
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Bruce on September 27, 2017, 04:36:42 AM
yeah, I'm not seeing that.
Perhaps try one of the examples and send that to me?
Incidentally that's a _date lookup_, not a general lookup - they use different CSS.

cheers
Bruce
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Robert Iliuta on September 27, 2017, 05:24:05 AM
on NT10.07 right justify problem solved.
Thank you Bruce!
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: terryd on September 27, 2017, 11:43:50 AM
Hi Robert. Did you need to do anything else other than install 10.07?
I have installed and run and I still get the fields set to rightjustify displaying as centered (see attached)
One thing I noticed is that the download for the apps version is dated earlier than the desktop and server versions and may not have had this problem updated.
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Bruce on September 27, 2017, 09:49:15 PM
Hi Terry

you may want to look in netweb.css for RightJustify and see if the new code is in there. You should see

.RightJustify{text-align: right;}
.RightJustify .nt-flex{justify-content:right;}


if not follow the files back to see why your app folder doesn't have the latest files.

if it does have that there be sure to re-run gzipall.bat, and make sure the new files are deployed to the server.

Title: Re: Right Justify on browse fields stopped working in NT10
Post by: terryd on September 28, 2017, 12:41:08 AM
Hi Bruce.
CopyAll.bat wasn't triggered when I compiled the app under NT10.07.
I ran that and checked that these lines were in netweb.css  in the application web folder
.RightJustify{text-align: right;}
.RightJustify .nt-flex{justify-content:right;}

They were in the file so I then ran gzipall.bat
I cleared the cache in Firefox and Chrome
In Firefox the fields are right justified. In Chrome they are left justified.
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: terryd on September 30, 2017, 05:14:01 AM
Bump
Title: Re: Right Justify on browse fields stopped working in NT10
Post by: Bruce on October 01, 2017, 11:14:31 PM
fixed in 10.08