12-27-2009 07:17 PM
HI all, this seems like it should be simple-
My screen class extends MainScreen and adds a bunch of EditFields. How do I get the labels to align vertically along the left margin of the screen and the data entry fields align vertically along the right edge of the screen? Please look at the default AppointmentItem to see what I am trying to accomplish.
Solved! Go to Solution.
12-27-2009 11:19 PM
There is no stock control that does what you want (if I understand the question).
Edit fields all take the entire width of the display by default; the label takes as much as it needs and the text box takes the rest.
When you right -justify the text box, how much space are you taking, and which way should the text fill the input area?
I think you are maybe looking at the date fields on the screen you mention?
Anyway, this will require that you either write your own custom edit field, extend one of the ones that exist, or patch something up using a HorizontalFieldManager containing a separate label fiekd and input field (so that you can justify the two fields independently).