SteveMyres Posted November 3, 2011 Share Posted November 3, 2011 Some elements (in this case a variable value display) don't have text justification control in the dialog. It can be controlled through manual or programmatic control of the .align property of the element, but the manual doesn't document what options are available and which mode maps to what integer value of the property. Link to comment Share on other sites More sharing options...
AzeoTech Posted November 4, 2011 Share Posted November 4, 2011 Its actually also in the generic Properties window (the one you get when you do View - Properties). The codes are straight forward: 0 = default 1 = left 2 = center 3 = right Note that in 0 mode, the size of the control is determined by content. For the others, you can resize the control. This is especially handy if you have a background on the control. Link to comment Share on other sites More sharing options...
SteveMyres Posted November 5, 2011 Author Share Posted November 5, 2011 Oh, OK. I'd figured out about that much just from trial and error but wasn't sure how many modes were available, so I thought I should ask. Thanks! Link to comment Share on other sites More sharing options...
peterdlynn Posted November 30, 2011 Share Posted November 30, 2011 Hi, I've used the View-Properties method to centralise the text on a variable value but after I have done this the background of the variable has turned white rather being transparent. Any ideas why this has happened? TIA Peter Link to comment Share on other sites More sharing options...
AzeoTech Posted November 30, 2011 Share Posted November 30, 2011 I'm sure there is a logical reason, but unfortunately, it just works that way. Link to comment Share on other sites More sharing options...
SteveMyres Posted January 25, 2018 Author Share Posted January 25, 2018 There is a workaround. In the View -> Properties dialog, the background color will still appear to be set to what it was before you changed the alignment, even though the background is displaying white. If you change the background color to something else, then change it back to what you want, it will work, and it will stick. Link to comment Share on other sites More sharing options...
AzeoTech Posted January 29, 2018 Share Posted January 29, 2018 Also, this functionality has been changed in 17.2. We just couldn't figure out the logical reason! For existing applications with components marked center and no color, it will still paint white, but if you create a new component it will only paint a white background if you explicitly give it one. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.