-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved documentation for ListView #103
Comments
Here's the repo of what I've got for now too: https://github.com/Isaac-Leonard/accessible_gis |
Hmm, docs are always good - it's just a matter of who has time to write them. Definitely worth doing though so this issue can stay open as a tracking issue. Do you have a sample file that can be used with your app? I could take a quick look if you do. |
If you unzip this and access the australia.shp file (The others are needed cause shape files are weird) it'll crash with an index out of bounds error |
I've just added those changes but have no change in the output |
Activate |
Okay, I've got it working now. |
I'd have to think through that idea since it's like... there are potentially good reasons to not have layout constraints applied on something at all. The interface would have to return an Now, it does actually give a slightly cleaner approach when widget building, so you're possibly on to something. I'll let it roll around in my head for a bit and see what I land on - I actually do like the concept, I just don't want to fire without thinking it through. |
(Also, that method would be a noop if the user doesn't have autolayout as a feature and is just using old school frames, etc) |
Is there any guides / docs on how the framework works and the differences between auto layout and frames |
How do you set constraints on individual components like buttons and labels? |
You treat those like any And yes, |
Do layout constraints need to be deactivated ever or does setting new ones over ride old ones? |
Missed this - answer(s) below if you're still looking! You've got the right idea with Button Lines 180 to 185 in 4f40d62
|
I'm on version 0.3.2 which is seems to be the most recent release on crates.io, I'll switch over to using the last commit though |
Okay, its there now |
I'm attempting to build a table component, similar to what's in the todo list example but can't seem to get anything to display and the most progress I've been able to make is to have the item_for method being called with an index that's double the number of rows.
Would it be possible to improve the module level documentation for ListViews to explain how they are meant to be used and to add more detailed comments to the todo list example please.
For context I've not done any object c stuff before so am not aware of how the original framework really works.
The text was updated successfully, but these errors were encountered: