Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 14 total
Thread Control's position
Thu, May 15 2014 3:58 PMPermanent Link

E.B

Hello,

I'm trying to solve a stange and annoying problem. I put some TLabel and some Timage control a form. They have well defined absolute and relative positions. At execution those parameters (their absolute and relative postions) are sligtly changed !

What's the matter ? What is the rule ? How can I fix these positions ?
How can I have same positions at conception and execution !!!!!
Fri, May 16 2014 4:04 AMPermanent Link

Matthew Jones

The only things I've ever had cause position to change were:
1. Me, not getting my code right, and
2. Using the right alignment mode.

The latter is odd, and I think Tim has it fixed in an update, but I currently code
any right alignment I want.

/Matthew Jones/
Fri, May 16 2014 4:46 PMPermanent Link

E.B

(Matthew Jones) wrote:

The only things I've ever had cause position to change were:
1. Me, not getting my code right, and
2. Using the right alignment mode.

The latter is odd, and I think Tim has it fixed in an update, but I currently code
any right alignment I want.

/Matthew Jones/

What do you mean by "right alignment mode" ? Put two TLabel on a Form.
Their absolute and relative position change at execution.

Do you mean that I can align them ? How ?

I don't undestand.
Sat, May 17 2014 4:25 AMPermanent Link

Matthew Jones

Can you put together a simple sample? I have always been amazed at how the EWB
forms are pixel perfect, so something is not right. Which browser are you using?

/Matthew Jones/
Sun, May 18 2014 8:20 AMPermanent Link

E.B

(Matthew Jones) wrote:

Can you put together a simple sample? I have always been amazed at how the EWB
forms are pixel perfect, so something is not right. Which browser are you using?

/Matthew Jones/

Ok Matthew, and thanck for spending some time helping me.
My question is simple : *Why* does absolute and relative distances between
controls at design are *not the same*, exactly the same, as it can be saw
for everyone on screen ?

A simple example in attached file



Attachments: Erreur position.zip
Sun, May 18 2014 1:51 PMPermanent Link

Raul

Team Elevate Team Elevate

On 5/18/2014 8:20 AM, E.B wrote:
> .
> My question is simple :*Why*  does absolute and relative distances between
> controls at design are*not the same*, exactly the same, as it can be saw
> for everyone on screen ?

I looked at the example and I still do not understand the problem. In my
case the controls for your sample app line up what visually looks
perfect both design and runtime (tried both in IE and Firefox).

Make sure your browser zoom is at 100% since runtime will depend on
whatever your browser settings are and zoom is one of those options
that's "invisible" to the ewb app (or any webpage for that matter)..

Raul
Mon, May 19 2014 4:10 AMPermanent Link

E.B

Raul wrote:

On 5/18/2014 8:20 AM, E.B wrote:
> .
> My question is simple :*Why*  does absolute and relative distances between
> controls at design are*not the same*, exactly the same, as it can be saw
> for everyone on screen ?

I looked at the example and I still do not understand the problem. In my
case the controls for your sample app line up what visually looks
perfect both design and runtime (tried both in IE and Firefox).

Make sure your browser zoom is at 100% since runtime will depend on
whatever your browser settings are and zoom is one of those options
that's "invisible" to the ewb app (or any webpage for that matter)..

Raul

Ok Raul. I tuned ZOOM at 100 % in Firefox and IE.
I took screen capture of it and of the EWB execution screen too.

I put the 3 files and the attached zip.

So you'll can see exactly what I see on my screen
if you put the files in full screen.

None of the 3 relatives and absolutes controls distances
are the sames !



Attachments: image ecran.zip
Mon, May 19 2014 5:11 AMPermanent Link

Matthew Jones

I've just run your project here, and they are all the same on Chrome, IE and EWB
(which is IE). I think the fact that your labels are squished in the IDE so not all
the text is showing is indicative of something affecting it. I think I'd look at
anything you might have that could get between a server and the browser and inject
CSS or alter it in any way. That's assuming the IE is indeed set to 100% zoom.

/Matthew Jones/
Mon, May 19 2014 8:49 AMPermanent Link

Raul

Team Elevate Team Elevate

On 5/19/2014 4:10 AM, E.B wrote:
> Ok Raul. I tuned ZOOM at 100 % in Firefox and IE.
> I took screen capture of it and of the EWB execution screen too.
>
> I put the 3 files and the attached zip.
>
> So you'll can see exactly what I see on my screen
> if you put the files in full screen.
>
> None of the 3 relatives and absolutes controls distances
> are the sames !
>

This is what your project looks like on my computer - runtime IE on top,
runtime Firefox below it and finally EWB IDE:
https://s3.amazonaws.com/tempbucketelevate/ewb_align.PNG

It looks like you have Windows scaling (either display or font or both)
active also (based on window title text size) which likely is affecting
this. Might need ElevateSoft to look into this and explain how the OS
side scaling affects display.

Raul
Mon, May 19 2014 10:42 AMPermanent Link

E.B

Raul wrote:

On 5/19/2014 4:10 AM, E.B wrote:
> Ok Raul. I tuned ZOOM at 100 % in Firefox and IE.
> I took screen capture of it and of the EWB execution screen too.
>
> I put the 3 files and the attached zip.
>
> So you'll can see exactly what I see on my screen
> if you put the files in full screen.
>
> None of the 3 relatives and absolutes controls distances
> are the sames !
>

This is what your project looks like on my computer - runtime IE on top,
runtime Firefox below it and finally EWB IDE:
https://s3.amazonaws.com/tempbucketelevate/ewb_align.PNG

Humm ... It looks correct ! I would like to have the same things
on my computer !



It looks like you have Windows scaling (either display or font or both)
active also (based on window title text size) which likely is affecting
this. Might need ElevateSoft to look into this and explain how the OS
side scaling affects display

Yes ... You must be right. But I don't know where
such a display scaling is tuned on my computer.
A thing like millimeter/pixel, it has a name I've forgotten.









Raul
Page 1 of 2Next Page »
Jump to Page:  1 2
Image