[hafqa] [hafqa] [Bug 1242] New: gtk.Scale resolution is restricted to powers of 10 via set_digits
From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.orgDate: Mon Apr 23 21:46:41 EEST 2007
- Previous message: [hafqa] [Bug 1240] New: label_yalign is broken in gtk.Frame, yet text is too close to frame box
- Next message: [hafqa] [Bug 1243] New: gtk.Scale's set_draw_value breaks tick marks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
https://maemo.org/bugzilla/show_bug.cgi?id=1242 Summary: gtk.Scale resolution is restricted to powers of 10 via set_digits Product: haf Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: gtk AssignedTo: tommi.komulainen at nokia.com ReportedBy: sean at cs.gmu.edu QAContact: hafqa at maemo.org set_digits not only specifies the digits in the label, but (weirdly) also sets the tick resolution of the slider. This forces all ticks to be multiples of powers of 10. You can create a slider that is restricted to values (0, 10, 20, 30, ...) or to (0, 0.1, 0.2, 0.3, 0.4), but not to (0, 2, 4, 6, ...). And you CERTAINLY can't have it be (0, 1, 2, 4, 8, 16, 32, ...) etc. This very seriously hinders the usefulness of HScale and VScale. The 'Slider' class in my toolkit at: http://cs.gmu.edu/~sean/stuff/n800/toolkit/toolkit.py ...goes through a large number of hoops to overcome this and other Scale bugs. -- Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
- Previous message: [hafqa] [Bug 1240] New: label_yalign is broken in gtk.Frame, yet text is too close to frame box
- Next message: [hafqa] [Bug 1243] New: gtk.Scale's set_draw_value breaks tick marks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]