In which layout manager? There's no fill parent, there's only layout managers and some of their behaviors imply fill.
On Saturday, December 12, 2020 at 12:52:57 PM UTC+2 P5music wrote: > So, said that about the scrollbars, what about the "fill parent" behaviour > I need? > > Il giorno sabato 12 dicembre 2020 alle 08:05:32 UTC+1 Shai Almog ha > scritto: > >> That scrollbar isn't ours. I don't see how this would be generated from >> our code. >> >> On Friday, December 11, 2020 at 12:09:15 PM UTC+2 P5music wrote: >> >>> I just want to have the "fill parent" behaviour for the text area. >>> Here are the images (I can show only the bottom half of the screen) >>> Notice that the text area grows up, but it does not until I click with >>> mouse, it does not happen while typing a multiline text. >>> Il giorno venerdì 11 dicembre 2020 alle 06:05:38 UTC+1 Shai Almog ha >>> scritto: >>> >>>> I'm not sure I follow you. Can you provide screenshots and source code? >>>> Also the size of the text area is proportional to the skin/density so >>>> if the text is small it's possible that this is a high DPI screen so the >>>> size on the device would be much larger. >>>> >>>> On Friday, December 11, 2020 at 12:35:14 AM UTC+2 P5music wrote: >>>> >>>>> I am trying to have a TextArea in the bottom half of a form with other >>>>> components at top. >>>>> The TA has to be like an editor, so it should be at full size from the >>>>> start. >>>>> Now I experience this: >>>>> 1-I do not see the TextArea, if I try some mouse clicks about its >>>>> intended position, at some time, it appears with just one line and tiny >>>>> scrollbars buttons. >>>>> 2-If I write multiline text it records my typing and stores into the >>>>> TA but I see just the tiny one line TA yet >>>>> 3-if I click somewhere the TA appears the size of the typed lines of >>>>> text, that is it shows all text I typed, but it is not as large as the >>>>> available space. it does not "fills" its parent, that is, its container >>>>> or >>>>> the left space if no container is used to wrap it. >>>>> I tried to set its height but it does not work. >>>>> >>>>> What I have to do? >>>>> Maybe I have to use a TableLayout with constraints? >>>>> Thanks in advance >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2880c6cf-3339-4c07-98d9-74d02d37041fn%40googlegroups.com.
