mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Oct. 25 2007,19:57 |
|
Quote | 1. delete the 3 lines that start with 'close' | If you remove the close button, you might also want to remove the w:callback, since it is what prevents the application from closing when Esc is pressed. I did this simply because I assumed you wouldn't want the menu to be so easy to close.
The placement of the buttons was just the first way that came to mind. I thought that using the whole screen width was unnecessary, but used it in case you wanted to add more buttons. I've never been good with math, but it looks like thehats' suggestion should work at least as well as anything I'd come up with. I also don't recall seeing anything specific to placement of one object within another, but it could be there somewhere.
Quote | Maybe (0,0) would be as if position() was not called at all? | Maybe, but I still think it's a window manager issue. 0,0 works for me. I haven't tried it with Fluxbox or JWM yet.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|