iOS Question CustomListView Resize

Discussion in 'iOS Questions' started by sinuser, Jul 3, 2018.

  1. sinuser

    sinuser Member Licensed User

    Hi,
    i need to resize the customlistview at runtime, i have found this code for b4a:

    CLV.GetBase.Height = NewHeight
    CLV.sv.Height = NewHeight

    but it does not work

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Create a layout with CLV anchored to all sides. Load this layout to a panel. You can now change the panel size and position and CLV will be resized automatically.
     
  3. sinuser

    sinuser Member Licensed User

    i don't understan, i have loaded the grid like so

    pnlFilter.LoadLayout("ly_gridFilters")

    but if i try to set the height of the panel doesn't change

    pnlFilter.Height = 300dip

    i can't override the height of the disign
     
  4. sinuser

    sinuser Member Licensed User

    ok i solved unchecking "Handle resize events"
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice