Author Topic: How to create a button that is over two different panels?  (Read 1766 times)

Agent_007

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 27
    • View Profile
How to create a button that is over two different panels?
« on: May 07, 2014, 03:07:34 AM »
As the topic says, I need to create a button that is over two different panels. But I don't have a clue how to do that.


as the image shows:
* Window is first panel, and scroll list inside of it is the second panel.
* And (next/prev) button should be drawn over both of them.
* But since scroll list must have higher depth than Window, I cannot put the buttons to Window panel since then scroll list is drawn over them.
* If I put the buttons to scroll list panel, then scroll list panel clipping hides parts that are outside of it.

If someone has some sort of tips, I would be grateful.

Rajken

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 12
    • View Profile
Re: How to create a button that is over two different panels?
« Reply #1 on: May 07, 2014, 04:00:31 AM »
The only solution that i can think about is to place the buttons in its own Panel and give it a grater depth then the ScrollView. I think it should be alright to use one panel for both buttons as well.

Agent_007

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 27
    • View Profile
Re: How to create a button that is over two different panels?
« Reply #2 on: May 07, 2014, 04:39:17 AM »
The only solution that i can think about is to place the buttons in its own Panel and give it a grater depth then the ScrollView. I think it should be alright to use one panel for both buttons as well.
Thanks. It worked.