Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Ivica Bukvic
On Jul 3, 2013 1:38 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-07-02 at 19:15 -0400, Ivica Ico Bukvic wrote: [symbol\ | [label $1( | [cnv] - (ATTN: Ivica) [hsl] seems to have the bounding box (?) miscalculated in l2ork so it doesn't GOP when it's less than

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Roman Haefeli
On Wed, 2013-07-03 at 03:56 -0400, Ivica Bukvic wrote: On Jul 3, 2013 1:38 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-07-02 at 19:15 -0400, Ivica Ico Bukvic wrote: [symbol\ | [label $1( | [cnv] - (ATTN: Ivica) [hsl] seems to have the bounding box

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Ivica Ico Bukvic
On 07/03/2013 04:31 AM, Roman Haefeli wrote: On Wed, 2013-07-03 at 03:56 -0400, Ivica Bukvic wrote: I guess we need to clarify what not usable at all means. If a patch works but one optional gop hsl is not visible, personally I would say that one element may not be usable and only temporarily.

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Ivica Ico Bukvic
On 07/02/2013 06:54 AM, András Murányi wrote: Very good idea, thanks Roman! Some difficulties I'm having: - I don't know how to set the label of [cnv]... is it possible at all? - (ATTN: Ivica) [hsl] seems to have the bounding box (?) miscalculated in l2ork so it doesn't GOP when it's less

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Roman Haefeli
On Wed, 2013-07-03 at 05:53 -0400, Ivica Ico Bukvic wrote: On 07/03/2013 04:31 AM, Roman Haefeli wrote: On Wed, 2013-07-03 at 03:56 -0400, Ivica Bukvic wrote: I guess we need to clarify what not usable at all means. If a patch works but one optional gop hsl is not visible, personally I

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Ivica Bukvic
Indeed. Let's hope pd/extended adopt these soon. Best wishes, Ico On Jul 3, 2013 7:31 AM, Roman Haefeli reduz...@gmail.com wrote: On Wed, 2013-07-03 at 05:53 -0400, Ivica Ico Bukvic wrote: On 07/03/2013 04:31 AM, Roman Haefeli wrote: On Wed, 2013-07-03 at 03:56 -0400, Ivica Bukvic wrote:

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread András Murányi
On Wed, Jul 3, 2013 at 1:15 AM, Ivica Ico Bukvic i...@vt.edu wrote: [...] However, if the object appears within the GOP boundaries but is still not visible in GOP window, then there may be some stale things I missed in the getrect call for hsl. In this case, please do file a bug report.

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Ivica Bukvic
That is because tk renders them as such. In other words when text is written inside the canvas it is not just the text itself that takes up space but imagine a box around it as if you were to select text that actually within tk returns visible area required by the text itself. Finding out only the

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread Ivica Bukvic
Forgot to add, try selecting comment text and you will notice how much more space selected area takes up then the text itself. This is what pd-l2ork takes into account when calculating whether something fits within the gop boundaries or not. HTH On Jul 3, 2013 1:35 PM, Ivica Bukvic i...@vt.edu

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-03 Thread András Murányi
Thanks for the explanation. Tcl/tk is so funny! András On Wed, Jul 3, 2013 at 7:35 PM, Ivica Bukvic i...@vt.edu wrote: That is because tk renders them as such. In other words when text is written inside the canvas it is not just the text itself that takes up space but imagine a box around it

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread András Murányi
On Mon, Jul 1, 2013 at 10:05 PM, Roman Haefeli reduz...@gmail.com wrote: On Mon, 2013-07-01 at 20:56 +0200, András Murányi wrote: I'm reformulating my question as the problem is evolving: do we have an object that - Displays and holds a text value (like Symbol or Message box), *

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-07-02 12:54, András Murányi wrote: - I don't know how to set the label of [cnv]... is it possible at all? yes, it's easy. since [cnv] doesn't have an inlet, you have to use the receive-label. just check the help-patch for [cnv] - there's a

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread Roman Haefeli
On Die, 2013-07-02 at 12:54 +0200, András Murányi wrote: On Mon, Jul 1, 2013 at 10:05 PM, Roman Haefeli reduz...@gmail.com wrote: On Mon, 2013-07-01 at 20:56 +0200, András Murányi wrote: I'm reformulating my question as the problem is evolving: do we have an object

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread András Murányi
On Tue, Jul 2, 2013 at 2:06 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-07-02 12:54, András Murányi wrote: - I don't know how to set the label of [cnv]... is it possible at all? yes, it's easy. since [cnv] doesn't have an inlet,

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread András Murányi
On Tue, Jul 2, 2013 at 2:27 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-07-02 at 12:54 +0200, András Murányi wrote: On Mon, Jul 1, 2013 at 10:05 PM, Roman Haefeli reduz...@gmail.com wrote: On Mon, 2013-07-01 at 20:56 +0200, András Murányi wrote: I'm

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread Jonathan Wilkes
On 07/02/2013 02:41 PM, András Murányi wrote: On Tue, Jul 2, 2013 at 2:27 PM, Roman Haefeli reduz...@gmail.com mailto:reduz...@gmail.com wrote: On Die, 2013-07-02 at 12:54 +0200, András Murányi wrote: On Mon, Jul 1, 2013 at 10:05 PM, Roman Haefeli reduz...@gmail.com

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread Roman Haefeli
On Die, 2013-07-02 at 17:58 -0400, Jonathan Wilkes wrote: On 07/02/2013 02:41 PM, András Murányi wrote: On Tue, Jul 2, 2013 at 2:27 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-07-02 at 12:54 +0200, András Murányi wrote: On Mon, Jul 1, 2013 at 10:05 PM,

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread Ivica Ico Bukvic
[symbol\ | [label $1( | [cnv] - (ATTN: Ivica) [hsl] seems to have the bounding box (?) miscalculated in l2ork so it doesn't GOP when it's less than 2-3px from the border of the parent canvas. Checked in Vanilla, it works as expected ([hsl] can be placed to the very border and it

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-02 Thread Roman Haefeli
On Die, 2013-07-02 at 19:15 -0400, Ivica Ico Bukvic wrote: [symbol\ | [label $1( | [cnv] - (ATTN: Ivica) [hsl] seems to have the bounding box (?) miscalculated in l2ork so it doesn't GOP when it's less than 2-3px from the border of the parent canvas. Checked in Vanilla, it

[PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-01 Thread András Murányi
I'm reformulating my question as the problem is evolving: do we have an object that - Displays and holds a text value (like Symbol or Message box), - is Graph-on-Parent, - can be resized (like Number2)? (or small enough by default?) Something like a Number2 for symbols...? Or a settable

Re: [PD] GOP text field / symbol which is resizeable? (was: GOP text field which sends bang?)

2013-07-01 Thread Roman Haefeli
On Mon, 2013-07-01 at 20:56 +0200, András Murányi wrote: I'm reformulating my question as the problem is evolving: do we have an object that - Displays and holds a text value (like Symbol or Message box), * symbolbox with width set 0 resizes dynamically * hsl, vsl, cnv, etc. can adjust size