-
robertiii
I think I’m starting to follow. Sorry I do enough programming to understand little. HAHA
-
robertiii
So I think I should somehow be able to use Transform..... but.... It only scales the view inside the Popup not the bounds of the the Popup itself.
-
robertiii
def menuButton(sender): pv = ui.load_view('menuPopOver') pv.name = 'Menu' pv.frame = (0,0,400,149) # x = sender.x + sender.width/2 # y = sender.superview.titlebar_height + sender.y + sender.height/2 pv.present('popover',popover_location = (44.5,50))
-
robertiii
So I have it presented with an arrow pointing to a menu bar buttonitem.
-
robertiii
I am presenting a view as a popover. I want to resize the popover and add a tableview. The problem is not adding a tableview but how to go about resizing a view that is already being presented? Any work around or ideas. I would include code but I really haven’t got any! Hee Hee
-
robertiii
I found this code somewhere on the internet heehee.
def menuButton(sender): pv = ui.View() pv.name = 'popover' pv.frame = (0,0,200,200) x = sender.x + sender.width/2 y = sender.superview.titlebar_height + sender.y + sender.height/2 pv.present('popover',popover_location = (x,y))
However this doesn’t work with navbar buttons as they don’t have the location information. How can I get the location info?
-
-
-
-