From: Chris C. <ca...@al...> - 2003-11-08 14:00:03
|
On Friday 07 Nov 2003 11:04 pm, Guillaume Laurent wrote: > - even whith "normal" spacing and font size, the control items are > not correctly placed with regard to the notes (I'm referring to > velocity control items here). The staff has an x-coordinate as well as a ruler. Is that what's=20 tripping you up there? > - the control rulers in notation "zoom" by fully relayouting > themselves. See ControlItem::updateHPos() in controlruler.cpp. This > works, sort of, when the font size is changed but not when spacing > is. I wonder why since both sliders actually end up calling the > same NotationView::slotChangeFont() method. No they don't. Spacing goes through slotChangeSpacing(). Add another=20 updateControlRulers call in there, and it works (again, sort of). =20 You'll need one in slotChangeProportion() as well. > - when changing either size or spacing, all notes vanish. I have to > force a refresh of the window to see them again. Oh fer god's sake, not another refresh dependency on the Qt version? =20 I had at one point found that the notes vanished when changing=20 spacing, but I fixed that earlier in the week. I assume they don't=20 vanish if you actually change the notation font? Now, a question of my own about strange behaviour in this ruler. At=20 the bottom of the velocity control ruler, below the bit with the bars=20 in it but above the tab, there's a blank area about the height of a=20 label or thereabouts. This area is not only blank, it actually=20 doesn't refresh at all: if you switch to a blank desktop, for=20 example, and then switch back, you get the desktop background filling=20 the widget. See: http://www.all-day-breakfast.com/rosegarden/tmp/thing.png What's up there? Chris |