I have prefwindow with a multiline textbox. When I resize the window, its width changes but its height is constant. How do I make its height variable?
views:
58answers:
2
Q:
How do I create a multiline textbox that adjusts the height automatically when the window is resized
yes. It doesn't work in a prefwindow. It does work in a normal window.
tmim
2010-03-12 21:38:26
You didn't say anything about that. Could you perhaps post some code?Are prefwindow supposed to be resized anyway?
lithorus
2010-03-15 08:44:47
A:
I'm just guessing but:
- Maybe you need to set the align attribute on the prefwindow, or the contained preferences element to "stretch". Then you also need to set the flex attribute on the textbox.
- You could also try to dynamically change the "rows" attribute of the texbox.
StackedCrooked
2010-03-31 20:39:26