tags:

views:

58

answers:

2

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?

A: 

Did you use the flex attribute?

lithorus
yes. It doesn't work in a prefwindow. It does work in a normal window.
tmim
You didn't say anything about that. Could you perhaps post some code?Are prefwindow supposed to be resized anyway?
lithorus
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