Re: [Swingosc-devel] Linux LAF
Brought to you by:
sciss
From: Sciss <co...@sc...> - 2010-02-15 17:21:43
|
hmmm. one could make the border optional: g.options.javaOptions="-Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"; g.reboot; ( var w; w = JSCWindow( "JSCTextField" ); b = JSCTextField( w, Rect( 10, 10, 150, 16 )); b.string = "hi there"; b.action = { arg field; field.value.postln }; c = JSCTextField( w, Rect( 10, 50, 150, 16 )); c.string = "hi there"; c.action = { arg field; field.value.postln }; // g.sendMsg( '/method', c.id, \putClientProperty, "JComponent.sizeVariant", "mini" ); g.listSendMsg([ '/set', c.id, \border ] ++ nil.asSwingArg ); w.front; ) Am 15.02.2010 um 17:08 schrieb James Harkins: > On Mon, Feb 15, 2010 at 12:05 PM, James Harkins <jam...@gm...> wrote: > > 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. > > Oops, no, static text is fine. TextFields/NumberBoxes have a large inner frame in nimbus, which obscures the content. So I may need to keep looking for another LAF... > > 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 > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev_______________________________________________ > Swingosc-devel mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swingosc-devel |