Not good news. Thanks for the information.
From: "Bruce Hill" <
[email protected]>
To: "Isadoro Carlino" <
[email protected]>
Cc: [email protected]Sent: Friday, March 8, 2013 9:37:29 PM
Subject: Re: EDM Text Control Widget Motif behavior
Hi Terry,
I've been bothered by the same lack of alignment in
our edm text controls. Your email got me thinking about
it and I looked into it more. It appears the root problem
is that the motif XmTextField widget that this edm widget
is based on does not support alignment!
See
Looking
for TextField with right-align
There
are some commercial solutions
Oracle
Complex Text Layout Extensions to Motif
ICS
Motif EnhancementPak
but I haven't found any open src solution yet.
Regards,
- Bruce
On 02/20/2013 12:28 PM, Isadoro Carlino wrote:
Noted a "feature" of the EDM Text Control
Widget. If motif is selected the Font justification control has
no effect. The text will always be at the top left corner of the
widget input field. This makes some kinds of widget positioning,
especially using code generated screens difficult. We're using
edm version 1-11-1zm with Text Control major 4 minor 1 version.
Does anyone know if this has been fixed in later version of EDM
or is it a function of using motif? The widget font
justification works as expected if motif isn't selected,
unfortunately you are then left with a separate dialog box
opening for input. I also know that the Textentry Widget allows
direct entry without motif, but it does not allow units to be
surpressed and lacks many of the other features of Text Control.
Any help would be appreciated, before I try to tear into the
widget code myself to see if I can fix the problem.
Terry Carlino
--
Bruce Hill
Member Technical Staff
SLAC National Accelerator Lab
2575 Sand Hill Road M/S 10
Menlo Park, CA 94025