label on top

3 posts / 0 new
Last post
jabirulo
jabirulo's picture
Offline
Last seen: 4 days 17 hours ago
Joined: 2013-05-30 00:53
label on top

HI, I get the Label on the middle of the listview/FloatText, how can I set it a top?

NOW:

  1. ...........................
  2. |
  3. label: |
  4. |..........................

Me want:

  1. label: ...........................
  2. |
  3. |
  4. |.........................

code snippet:

  1. Child, Label("label:"),
  2. Child, ListviewObject,
  3. MUIA_Listview_Input, FALSE,
  4. MUIA_Listview_List, txt_description = FloattextObject,
  5. MUIA_Floattext_Text, "",
  6. MUIA_Background, NULL,
  7. End,
  8. MUIA_Frame, MUIV_Frame_None,
  9. End,
  10. End,
tboeckel
tboeckel's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 2011-09-13 12:32
Re: label on top

Simply put the label object into a VGroup with an additional VSpace() object below:

  1. Child, HGroup,
  2. Child, VGroup,
  3. Child, Label("label:"),
  4. Child, VSpace(0),
  5. End, // end of VGroup
  6.  
  7. Child, ListviewObject, ....
  8. End, // end of ListviewObject
  9.  
  10. End, // end of HGroup
jabirulo
jabirulo's picture
Offline
Last seen: 4 days 17 hours ago
Joined: 2013-05-30 00:53
Re: label on top

thx

AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P
Log in or register to post comments