Re: [Swingosc-devel] Linux LAF
Brought to you by:
sciss
From: James H. <jam...@gm...> - 2010-02-15 23:38:29
|
On Mon, Feb 15, 2010 at 12:21 PM, Sciss <co...@sc...> wrote: > hmmm. > > one could make the border optional: > That does help. I have temporarily changed prInitView for JSCTextField and JSCNumberBox in my environment like so (here from JSCTextField): ^this.prSCViewNew([ [ '/local', this.id, '[', '/new', "de.sciss.swingosc.TextField", ']', "ac" ++ this.id, '[', '/new', "de.sciss.swingosc.ActionResponder", this.id, \text, ']', "tx" ++ this.id, '[', '/new', "de.sciss.swingosc.DocumentResponder", this.id, ']' ] ], [ [ '/set', this.id, \border ] ++ nil.asSwingArg ]); It's not a perfect solution - the class browser doesn't draw a border around the class name textfield anymore, but I can change the background on that view and it will be OK. It's definitely good enough for my purposes. Thanks for the help! 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 |