Hi, I have a dynamic text “font size” between a “+” text button and a “-” text button. The “font size” text will change between English text “font size” and Spanish text “tamaño del texto”. I have a very hard time dynamically positioning the “+” and the “-” text buttons so that the spacing between the buttons and the text is the same. The following code does not really work. spacing = 5; btFontIncrease._x = dtFontSize._x - btFontIncrease._width - spacing; btFontDecrease._x = dtFontSize._x + dtFontSize._width + spacing; The problem is that there are margins before and after the text even though the margin values default to 0. What else can I do? Any help is much appreciated.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Dynamic Size in Dynamic text Box | 0 | 98 | December 29, 2009 | |
Adjust button dimension to text
|
0 | 79 | February 13, 2008 | |
Spacing of dynamic text field
|
0 | 72 | February 22, 2006 | |
Dynamic text size changer
|
0 | 45 | March 11, 2008 | |
MX - Dynamic Text Box Positioning | 0 | 195 | July 12, 2002 |