Panels and widgets

fanfalveto

Active Member
Licensed User
Longtime User
well,i don´t know why,but in a widget layout i put one panel and i can see this right,but if i put another one i only can see the first.
 
Upvote 0

NFOBoy

Active Member
Licensed User
Longtime User
You're using the designer? What are you going for, stacked or side by side?

If stacked, realize that the panel on top does cover up the ones below(At least for me, even when set to transparent) so I use panels as the "edges" for my views that are inside them (just as in the tutorial)

But they can indeed hold multiple views as the "glue" for your other views.
 
Upvote 0

JeffreyC

Member
Licensed User
Longtime User
Newbe here.

I thought this would be a good thread to add this to instead of starting a new one.

Similar to the question above, I want to display a second panel (Panel2) with a list of buttons as "options" for the user to click on when they click the main widget or first panel (I'm actually using a Label on Panel1 and the click event for that.)

My Panel1 is "button" sized; but I want my second panel to appear larger.

They only way I've found to make Panel2 appear is to make it a child of Panel 1, then use code like this:

B4X:
rv.SetVisible("Panel2",True)
rv.UpdateWidget

But how can I make it larger? I can't find a way to set Width and Height, say on Panel1 temporarily, to allow me to see my large Panel2.

Thanks in advance for your help. If I'm going about this the wrong way, any help / lessons are much appreciated.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…