Resize handle

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
Resize handle

Submitted by hinkocevar on Tue, 02/02/2010 - 12:42. General Questions
Hi all,

I'm using EPICS EDM software that uses Motif. When application displays a window I always need to resize the parts of the window to see everything that is shown on the window. Eg. if window is divided in two parts a line and 1x1 pixel handle on that line allows me to resize the top/bottom parts to desired size. The problem is that the handle (mouse cursor changes to cross when hovered) is so damn small that makes me very frustrated. I need to place the mouse cursor directly over that 1x1 pixel to be able to resize.

Can this handle be made larger?

I could post a pic to show you what I'm talking about if needed..

fredk

If the app hard-coded it to that size, you're out of luck unless you have access to the source code.

If the app did not hard-code the size, try executing it with the following command line argument:
-xrm '?*sashHeight: 5'
(to make it 5 pixels high - or use any value you like)

If the app is launched via a script, modify the script to add that.

Or place that line in your .Xdefaults file

--
Fred K

hinkocevar

Thanks for the reply!

Adding -xrm does not work..:

hinko@pc-hinkok ~/tools/epics $ ./base-3.14.10/extensions/bin/linux-x86/edm -xrm '?*sashHeight: 5'
Unknown command line parameter (-h displays help)

I guess the value is hardcoded, but I have the sources.

I'll try setting the value in the .Xdefaults, too.

hinkocevar

OK, I've managed to get sash larger by changing hardcoded value of WxH to 10x10.

Another issue appears. When a Motif screen is shown, panes need to be always resized to see all the content. Also the scrollbars do not appear even if several widgets are not seen on the pane.

What X setting controls this space? Please see the pic on the http://imagebin.org/83274 to see what I'm talking about - I would like top and bottom panes to be smaller by default..

Thank you!