Re: [Swingosc-devel] Linux LAF
Brought to you by:
sciss
From: James H. <jam...@gm...> - 2010-02-15 17:05:20
|
On Mon, Feb 15, 2010 at 8:27 AM, Sciss <co...@sc...> wrote: > if you can install sun's java 1.6, i recommend nimbus which is really great > looking. if you can't for some reason (e.g. i'm not sure it's included in > openJDK), you could i think still install it separately from > https://nimbus.dev.java.net/ . did you try the Gtk look and feel? > GTK looks about the same as Motif, only brighter. Here's the problem with those: ( w = Window("lo-res slider", Rect(10, 100, 125, 50)); z = Slider(w, Rect(5, 5, 50, 20)).action_({ |view| view.value.postln }); w.front; ) With GTK/Motif, moving the thumb by 1 pixel changes the value by 0.083333333022892, or 1/12. Very poor resolution. > nimbus ideally could render differently big slider knobs, but at least in > the java 1.6 version that snow leopard ships with, the resize hints > (JComponent.sizeVariant) are broken unfortunately. > Thanks for the suggestion. Sliders are much prettier. I have a LOT of them in my GUI and when they look bad, the whole thing is an assault on the eye. Small static text views, not so good - even the Volume control in the server window is unreadable. I can live with it for now. Or maybe I just need more fonts. unfortunately i don't have much time, but we could still plan to use a > custom slider instead of JSlider, as that would allow for more closer > matching with cocoa gui, e.g. slider track and knob colours etc. the > original JSlider (which i like quite much) could then be with another > swingOSC only class. > Nah, I don't that's necessary. hjh -- James Harkins /// dewdrop world jam...@de... http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |