Hi all,

how do I drag a control's resize handle in Gorm to build an NSMatrix like I 
could in Interface Builder? I have discovered that normal dragging resizes 
(expected), and so does alt-drag, ctrl-drag, shift-drag, alt-shift-drag, 
ctrl-shift-drag and ctrl-alt-shift-drag. Based on this bug report 
(https://savannah.gnu.org/bugs/?36096), I would expect alt-drag or 
ctrl-shift-alt-drag to work, but neither does. I have confirmed that my window 
manager is not intercepting alt-drag to do its own thing.

What is the expected working combination, and how might I diagnose why it 
doesn't work (or where might I go to patch it to choose something that does)? 
What I looked for was the key modifier on the mouse event being inspected in 
-[GormViewWithSubviewsEditor handleMouseOnKnob:ofView:withEvent:] but it isn't 
checked at all. It _is_ checked in GormMatrixEditor, but obviously by that 
point you already have a matrix. I'm expecting the same behaviour as IB, where 
if I drag a button onto a window then alt-drag the button, I get a matrix of 
buttons..

A partial workaround is to drag an existing matrix (i.e. the radio control) 
from the palette into the window, then ctrl-shift-option-drag does change the 
number of cells in the matrix. However, I don't see how to edit the prototype 
cell to look/act like a normal button rather than a radio button, so that 
doesn't suit my need.

Thanks,
Graham.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to