[hafqa] [hafqa] [Bug 1242] gtk.Scale resolution is restricted to powers of 10 via set_digits
From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.orgDate: Thu May 3 11:03:12 EEST 2007
- Previous message: [hafqa] [Bug 1240] label_yalign is broken in gtk.Frame, yet text is too close to frame box
- Next message: [hafqa] [Bug 1240] label_yalign is broken in gtk.Frame, yet text is too close to frame box
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
https://maemo.org/bugzilla/show_bug.cgi?id=1242 tommi.komulainen at nokia.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From tommi.komulainen at nokia.com 2007-05-03 11:03 ------- I don't follow. The following gives me hscale with selection of (0,2,4,6,...) scale = gtk_hscale_new_with_range (0.0, 1024.0, 2.0); gtk_scale_set_digits (GTK_SCALE (scale), 0); Since scale is linear, it is only to be expected that you can't do 0,1,2,4,8,... -- directly that is, see http://developer.gnome.org/doc/API/2.0/gtk/GtkScale.html#GtkScale-format-value -- 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] label_yalign is broken in gtk.Frame, yet text is too close to frame box
- Next message: [hafqa] [Bug 1240] label_yalign is broken in gtk.Frame, yet text is too close to frame box
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]