Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5708 > unrolled thread

Alignment issue

Started byMartin <spam@spam.spam>
First post2013-08-15 10:17 +0100
Last post2013-08-19 17:14 +0200
Articles 6 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Alignment issue Martin <spam@spam.spam> - 2013-08-15 10:17 +0100
    Re: Alignment issue D.J.W. van Kooten <public@ic2remove.this.com> - 2013-08-15 14:06 +0200
      Re: Alignment issue Martin <spam@spam.spam> - 2013-08-16 11:21 +0100
    Re: Alignment issue Mathias <mathias.hakansson@consultec.se> - 2013-08-16 00:03 -0700
      Re: Alignment issue Martin <spam@spam.spam> - 2013-08-16 11:21 +0100
    Re: Alignment issue Massimo Bighelli <info@arcasistemi.it> - 2013-08-19 17:14 +0200

#5708 — Alignment issue

FromMartin <spam@spam.spam>
Date2013-08-15 10:17 +0100
SubjectAlignment issue
Message-ID<p01Pt.64990$W66.38187@fx10.fr7>
Page with header and two browses

Top stays same depth

Middle is a browse tried PX_PY_PWIDTH_PHEIGHT and PWIDTH_PHEIGHT

Bottom is q browse with PX_PY_PWIDTH_PHEIGHT

With PWIDTH_PHEIGHT the top of the browse is fine but a gap exists 
between the browses which spoils the effect.

With PX_PY_PWIDTH_PHEIGHT the top gets gaps but the gap between browses 
is fine.

Who do I scale the browses to keep the gaps sensible?

Thanks

Martin

[toc] | [next] | [standalone]


#5709

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-08-15 14:06 +0200
Message-ID<csgp09thjjscv293g5hijt93k4drnuo0dg@4ax.com>
In reply to#5708
On Thu, 15 Aug 2013 10:17:17 +0100, Martin <spam@spam.spam> wrote:

Hello Martin,

>
>With PWIDTH_PHEIGHT the top of the browse is fine but a gap exists 
>between the browses which spoils the effect.
>
>With PX_PY_PWIDTH_PHEIGHT the top gets gaps but the gap between browses 
>is fine.

Alignment is a hell of a job. I usually end up trying all kinds of
alignments until it more or less does what I expect. Realize 2 things:

1 Not all alignments are in the VO defines. You may need to add a
define for it.
2 For real finetuning, you can define the exact movements, see the
help, using bits to assign values, e.g.:

OwnerAlignment :=PTR(_CAST, 0x11120000) 

You will certainly see the difference in small steps but trial & error
seems to be the solution.

Dick

[toc] | [prev] | [next] | [standalone]


#5712

FromMartin <spam@spam.spam>
Date2013-08-16 11:21 +0100
Message-ID<D2nPt.67537$W66.12650@fx10.fr7>
In reply to#5709
Thought I might have to

On 15/08/2013 13:06, D.J.W. van Kooten wrote:
> On Thu, 15 Aug 2013 10:17:17 +0100, Martin <spam@spam.spam> wrote:
>
> Hello Martin,
>
>>
>> With PWIDTH_PHEIGHT the top of the browse is fine but a gap exists
>> between the browses which spoils the effect.
>>
>> With PX_PY_PWIDTH_PHEIGHT the top gets gaps but the gap between browses
>> is fine.
>
> Alignment is a hell of a job. I usually end up trying all kinds of
> alignments until it more or less does what I expect. Realize 2 things:
>
> 1 Not all alignments are in the VO defines. You may need to add a
> define for it.
> 2 For real finetuning, you can define the exact movements, see the
> help, using bits to assign values, e.g.:
>
> OwnerAlignment :=PTR(_CAST, 0x11120000)
>
> You will certainly see the difference in small steps but trial & error
> seems to be the solution.
>
> Dick
>

[toc] | [prev] | [next] | [standalone]


#5710

FromMathias <mathias.hakansson@consultec.se>
Date2013-08-16 00:03 -0700
Message-ID<5dc6502c-f39f-4bcc-bf95-69806d1d6e7c@googlegroups.com>
In reply to#5708
Splitwindow?

Otherwise you will probably need to write your own resize-method.

/Mathias

Den torsdagen den 15:e augusti 2013 kl. 11:17:17 UTC+2 skrev Martin:
> Page with header and two browses
> 
> 
> 
> Top stays same depth
> 
> 
> 
> Middle is a browse tried PX_PY_PWIDTH_PHEIGHT and PWIDTH_PHEIGHT
> 
> 
> 
> Bottom is q browse with PX_PY_PWIDTH_PHEIGHT
> 
> 
> 
> With PWIDTH_PHEIGHT the top of the browse is fine but a gap exists 
> 
> between the browses which spoils the effect.
> 
> 
> 
> With PX_PY_PWIDTH_PHEIGHT the top gets gaps but the gap between browses 
> 
> is fine.
> 
> 
> 
> Who do I scale the browses to keep the gaps sensible?
> 
> 
> 
> Thanks
> 
> 
> 
> Martin

[toc] | [prev] | [next] | [standalone]


#5713

FromMartin <spam@spam.spam>
Date2013-08-16 11:21 +0100
Message-ID<Z2nPt.67538$W66.10361@fx10.fr7>
In reply to#5710
SplitWindow - new to me I willhave alook thanks

On 16/08/2013 08:03, Mathias wrote:
> Splitwindow?
>
> Otherwise you will probably need to write your own resize-method.
>
> /Mathias
>
> Den torsdagen den 15:e augusti 2013 kl. 11:17:17 UTC+2 skrev Martin:
>> Page with header and two browses
>>
>>
>>
>> Top stays same depth
>>
>>
>>
>> Middle is a browse tried PX_PY_PWIDTH_PHEIGHT and PWIDTH_PHEIGHT
>>
>>
>>
>> Bottom is q browse with PX_PY_PWIDTH_PHEIGHT
>>
>>
>>
>> With PWIDTH_PHEIGHT the top of the browse is fine but a gap exists
>>
>> between the browses which spoils the effect.
>>
>>
>>
>> With PX_PY_PWIDTH_PHEIGHT the top gets gaps but the gap between browses
>>
>> is fine.
>>
>>
>>
>> Who do I scale the browses to keep the gaps sensible?
>>
>>
>>
>> Thanks
>>
>>
>>
>> Martin
>

[toc] | [prev] | [next] | [standalone]


#5715

FromMassimo Bighelli <info@arcasistemi.it>
Date2013-08-19 17:14 +0200
Message-ID<kutco6$r76$1@speranza.aioe.org>
In reply to#5708
Il 15/08/2013 11:17, Martin ha scritto:
> Page with header and two browses
>
> Top stays same depth
>
> Middle is a browse tried PX_PY_PWIDTH_PHEIGHT and PWIDTH_PHEIGHT
>
> Bottom is q browse with PX_PY_PWIDTH_PHEIGHT
>
> With PWIDTH_PHEIGHT the top of the browse is fine but a gap exists
> between the browses which spoils the effect.
>
> With PX_PY_PWIDTH_PHEIGHT the top gets gaps but the gap between browses
> is fine.
>
> Who do I scale the browses to keep the gaps sensible?
>
> Thanks
>
> Martin

don't use P(proportional) for both browsers
use fixed height for the middle
full bottom for the second
HTH

*Massimo Bighelli* ARCA Sistemi S.r.l.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web