|Fields on a FlowLayout can't be updated [message #462911]
||Thu, 20 October 2005 23:47
Originally posted by: arick.pobox.com|
As a learning exercise, I am attempting to layout two columns of data
using the FlowLayout. I am attempt to ensure that the right column is
right-justified via a FlowData and FlowAttachment.
I attach the left fields to fieldDataL2.left = new FA(0, 5)
I attach the top to fieldDataL2.top = new FA(labelField_1, 5)
I attach the right field to fieldDataR2.right = new FA(100, -5)
I attach the top to fieldDataR2.top = new FA(textField_1, 5)
The initial layout on the columns looks great. Then I update the fields.
Still works great; at least until the width of the right-field increases.
Then the right-most characters (those further to the right then the
original field-width) get cut off.
EX: first pass
EX: second pass
EX: third pass
Everything to the right gets cut off.
Powered by FUDForum
. Page generated in 0.01896 seconds