[PD-dev] [ pure-data-Patches-1551815 ] align control checkboxes to left

SourceForge.net noreply at sourceforge.net
Tue Dec 18 09:56:28 CET 2007


Patches item #1551815, was opened at 2006-09-04 10:05
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1551815&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: oskude (oskude)
Assigned to: Miller Puckette (millerpuckette)
Summary: align control checkboxes to left

Initial Comment:
"-anchor w" in checkbutton doesnt have any effect.
moved to pack, so they aligh to the left...

----------------------------------------------------------------------

Comment By: Miller Puckette (millerpuckette)
Date: 2007-12-18 05:18

Message:
Logged In: YES 
user_id=313747
Originator: NO

took it.

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2006-09-16 19:04

Message:
Logged In: YES 
user_id=27104


Nice little detail.  I added to the Pd-extended build system
as
pure-data/packages/patches/pd_controls-anchor-fix-0.40-pre.patch

It will be in the nightly builds starting tomorrow.

----------------------------------------------------------------------

Comment By: oskude (oskude)
Date: 2006-09-15 10:06

Message:
Logged In: YES 
user_id=1383707

[snip]
checkbutton .controls.switches.audiobutton -text {compute
audio} \
    -variable ctrls_audio_on \
    -anchor w \
    -command {pd [concat pd dsp $ctrls_audio_on \;]}

checkbutton .controls.switches.meterbutton -text {peak meters} \
    -variable ctrls_meter_on \
    -anchor w \
    -command {pd [concat pd meters $ctrls_meter_on \;]}

pack .controls.switches.audiobutton
.controls.switches.meterbutton -side top
[snip]

looks like this:

[ ] compute audio
 [ ] peak meters

as you see, -anchor -w doesnt have any effect when used in
checkbutton, they are not aligned to left(w:west)

so changing to this:
[snip]
checkbutton .controls.switches.audiobutton -text {compute
audio} \
    -variable ctrls_audio_on \
    -command {pd [concat pd dsp $ctrls_audio_on \;]}

checkbutton .controls.switches.meterbutton -text {peak meters} \
    -variable ctrls_meter_on \
    -command {pd [concat pd meters $ctrls_meter_on \;]}

pack .controls.switches.audiobutton
.controls.switches.meterbutton -side top \
     -anchor w
[snip]

looks like this:

[ ] compute audio
[ ] peak meters

using -anchor w in pack aligns the checkbuttons to left...





----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2006-09-13 21:25

Message:
Logged In: YES 
user_id=27104

can you elaborate on what this patch does?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1551815&group_id=55736




More information about the Pd-dev mailing list