Posts

Post not yet marked as solved
3 Replies
0 Views
Thanks, it look promising. But if I use this code (filled dots with {print ("hello")} and Text("..."), app hangs up and prints in console: 2020-11-20 11:44:39.064295+0100 GlyphDesigner[45633:2671193] [Layout] Unable to simultaneously satisfy constraints:     "<NSAutoresizingMaskLayoutConstraint:0x60000119abc0 h=-&- v=-&- _NSTextContentView:0x7fee4561c870.minX == 0   (active, names: '|':NSTextView:0x7fee45673c80 )>",     "<NSAutoresizingMaskLayoutConstraint:0x60000119ada0 h=-&- v=-&- H:[_NSTextContentView:0x7fee4561c870]-(380)-|   (active, names: '|':NSTextView:0x7fee45673c80 )>",     "<NSAutoresizingMaskLayoutConstraint:0x60000119ae90 h=--& v=--& NSTextView:0x7fee45673c80.width == 318   (active)>" ) Will attempt to recover by breaking constraint  <NSAutoresizingMaskLayoutConstraint:0x60000119ada0 h=-&- v=-&- H:[_NSTextContentView:0x7fee4561c870]-(380)-|   (active, names: '|':NSTextView:0x7fee45673c80 )> Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, set a symbolic breakpoint on LAYOUT_CONSTRAINTS_NOT_SATISFIABLE to catch this in the debugger. But I have no idea where to set constrains in this case.