Comments (1)
The modal panel wouldn't really be modal if it didn't cover the entire screen. Popups are much better for partial screen popups. The reason why they are staggered is that the x and y values in your rect are not 0, and they all inherit from the parent.
The panel has to be given the frame of the view controller, but if you want to adjust the size of the panel itself, check out the setOuterMargin and setInnerMargin options on the panel.
from uamodalpanel.
Related Issues (20)
- Graphical glitch as sub view of tabbarcontroller. HOT 5
- iOS 6 compatibility errors HOT 5
- Memory leak? HOT 14
- UIToolBar Button HOT 1
- UAModalPanel with UIViewController instead of UIView subclass HOT 1
- iOS 4 Compatibility broken? HOT 1
- contentView is always (0,0,0,0) when constructing panel
- Documentation Update (add libstdc++.dylib into the "Link Binary with Libraries")
- Mixing of coordinate system at various points in code
- closeButton appears under contentView in certain circumstances HOT 3
- Tag version HOT 3
- Delay HOT 3
- Can hide navigation bar? HOT 3
- Fixed portrait position HOT 10
- More instructions for ARC would be helpful HOT 2
- pod v1.2 unavailable
- Smaller size with full screen background mask HOT 3
- specify size HOT 2
- Rotation Support? HOT 7
- Add Size instead of Margins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uamodalpanel.