Greetings -
Is there any way to increase the active area of inlets & outlets for patching (aside from zooming) ?
I've recently moved from a 15" MPB to a 14" Thinkpad running Ubuntu, and I'm having a harder time making patch connections. Both were running at 1920 x 1080, but it seemed a little easier on the Mac. I can mostly manage with a mouse, but it's next to impossible on the trackpad - seems like the active area is only a few pixels in either dimension.
Any ideas?
thanks!
Paul
-
Increasing the size of inlets & outlets?
-
@forty-2 Increasing the font size for the patch might help...
-
Worth a try, but didn't work - the object is larger, but the inlets & outlets are the same size.
-
@forty-2 If you're feeling ambitious you can mod pd by editing the pixel values in canvas.h starting ~line 47 and compile
#define IOWIDTH 7 /* width of an inlet/outlet in pixels */ #define IHEIGHT 3 /* height of an inlet in pixels */ #define OHEIGHT 3 /* height of an outlet in pixels */
-
@seb-harmonik.ar - exactly what I was looking for. The build was pretty straightforward, and increasing those values by 2 pixels makes it noticeably easier.
Thanks!Wonder if there's any other UI annoyances I can fix now that I've got a working build...
-
Why can't you just zoom in on the patch?
-
@jancsika I'm guessing because he'd have to make the font size really small in order to get the right inlet/outlet/object size ratio (it only goes to 8 anyways, the default is 10), and if you did that then when you would open the patch on another computer all of the objects would be really close together
-
In Purr Data I can specify size 10 font and then zoom in two levels to get a box that is larger than size 12 font but smaller than size 16. At that setting the inlets are about 2 pixels wider and some amount taller, too.
Size 10 font is the default in Pd Vanilla and is readable.
If that is workable it might be preferable to changing the hard-coded xlet width. Because if you change the hard-coded xlet width which then nice-looking straight line connections in your patches will not be straight-line connections on everyone else's screen.
-
@jancsika that's true, but there are a few problems; mainly, that he wanted the boxes to stay the same size but only have the inlets get bigger. It's about the ratio. Zooming isn't precise enough generally anyways, and on vanilla you can only go down to size 8 font so when you zoom in to make the inlets bigger the objects will be way too big. In vanilla there is only 1 level of zoom also.
I've been thinking of a way to include inlet/outlet size options in startup flags but couldn't figure it out a good way to do it.. it would probably need new methods for canvas (like font has also.) -
I've been tinkering with Context Sequencer, which warns against changing the fonts and I think zooming.
I'm also just happy to get back into 'rolling my own' after being away from Linux for well over a decade.