MultiLineView padding
-
Hi,
It appears that a
MultiLineView
object has some kind of default padding on the top and left (margin between where the white background starts and where any text starts to be displayed). Is it possible to change/set this programmatically when making aMultiLineView
object? I tried using theFrameAdjustments
but I’m not sure that’s the best/intended way.Thanks!
Nina
-
yeah, you can use the same hack
glyphPreview.getNSView()._buffer = 40 glyphPreview.getNSView().refresh()
I've added a better and friendlier API on my todo list :)
-
Does what I need. :) Thankyou!
-
He Nina
you could hack around it.... (maybe I have to implement a friendly way :)
glyphLineView.contentView()._buffer = 20 # default is 15 glyphLineView.contentView().refresh()