Follow-up Comment #3, bug #19082 (project mypaint):

It's a standard control, with a few additional options turned on. Spinbuttons
are a little rare as controls because the tiny buttons need a lot of dexterity
which makes them unpopular. OTOH, we'd be displaying at 32px which is quite
tall, and being able to reformat the text we display on the fly will be nice.

I'd be using the limits set on the main document's viewport, of course; the
demo is just a demo.

MyPaint actually has two systems for zooming. The main one is the
TiledDrawWidget's "scale" field, sometimes called "zoom" which is just a
multiplier stored as a float. On top of that there's a nonlinear "zoomlevel"
mediated by the gui.document.Document instance which provides discrete levels
geared towards faster power-of-two scaled drawing in the absence of rotations.
It's a lot of stuff to keep in sync, so I'm fiddling about here trying to
expose the main "scale" field as gtk.Adjustment: not as easy as it may seem,
as it happens. But I'm still working on this.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19082>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to