[Xcircuit-dev] Default window size
R. Timothy Edwards
tim.edwards at multigig.com
Mon Jul 17 15:34:41 PDT 2006
Dear Philip,
> It's getting close, but my upgrade isn't "done" yet...
>
> I think the last hurdle is dealing with the default window size - it
> is _way_ bigger than my 1024x768 screen!
>
> With XCircuit 3.1 I have a couple lines in /etc/X11/app-defaults/XCircuit
>
> xcircuit.width : 950
> xcircuit.height : 700
>
> I believe that is what sets the window to 950x700 for the old version.
> But I can't seem to get this new, 3.6.39 to do the same thing.
>
> I tried putting it in ~/.xcircuitrc and that had no effect.
>
> I'm guessing that I'm trying to use non-tcl commands in a tcl-enabled
> version.
>
> Is there a way to set the default window size?
The Tcl/Tk version picks up its defaults not from app-defaults/XCircuit,
but from "resource.tcl" in the xcircuit installation directory. You
can change the default width and height there.
Alternately, you can set the width and height from your .xcircuitrc
file by resizing the window (which already exists when the .xcircuitrc
file is read, which is why modifying the default doesn't do anything):
.xcircuit configure -width 900
.xcircuit configure -height 700
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: tim.edwards at multigig.com |
| MultiGiG, Inc. | web: http://www.multigig.com |
| 100 Enterprise Way, Suite A-3 | phone: (831) 621-3283 |
| Scotts Valley, CA 95066 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
More information about the Xcircuit-dev
mailing list