Commit Graph
25 Commits
Author SHA1 Message Date
Florent Castelli e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Unknown W. Brackets f4c735ee4e UI: Allow scrollviews to wrap content.
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content.  This can happen inside a LinearLayout.
2016-08-14 13:09:55 -07:00
Unknown W. Brackets ab3ed7d2ef UI: Account for flexible things changing on wrap.
If something has a flexible width, that may affect its final calculated
height.  This allows it to grow in such a situation.
2016-08-07 16:35:58 -07:00
Unknown W. Brackets f7231686bd UI: Make it easy to measure with spec info.
This still allows skipping a Measure() override, so that it can still
clamp properly.
2016-08-07 16:35:56 -07:00
Unknown W. Brackets d00a2bbc04 UI: Specify max height for horizontal scroll. 2016-08-07 16:35:55 -07:00
Unknown W. Brackets b37ac3580d UI: Use a helper for vert/horiz margin sum. 2016-08-07 15:24:47 -07:00
Henrik Rydgard c8457d39ed Fix a bunch of compiler warnings, delete some unused code 2016-03-13 15:17:31 +01:00
Henrik RydgardandUnknown W. Brackets 98dc56116f Add ability to hide items from popup lists 2016-03-06 11:54:38 -08:00
Unknown W. Brackets b2a3b5c7b8 UI: Allow a degree of "pull" in scroll views.
Also, fix a clamp issue that could've shown up for a frame while dragging.
Fixes #8505.
2016-01-25 21:53:41 -08:00
Unknown W. Brackets 8d41664bb1 UI: Fix clipping with margins.
Affected text views, like "No screenshot." in save states.
2016-01-23 11:45:55 -08:00
Unknown W. Brackets 68a6f8186d UI: Avoid scroll to top on tab restore.
Oops, missed this case.

Fixes #7975, savedata manager scrolling on delete.
2016-01-23 10:52:16 -08:00
Unknown W. Brackets c1812ae7d7 UI: Clamp scroll pos on render.
This way we don't clamp wrongly when views don't have sizes yet, and we
also do clamp when we need to.

We can allow a little flex by tracking the down state too.
2016-01-23 10:10:43 -08:00
Unknown W. Brackets 60f00820f8 UI: Move scrollviews to top on hide.
This seems like a common scrolling decision.
2016-01-23 09:15:50 -08:00
Unknown W. Brackets f26d682e14 UI: Persist the last focused view on resize. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets 78aae01cd4 UI: Allow scroll views to persist their position.
It'll be clamped as necessary.
2016-01-22 23:02:44 -08:00
Unknown W. Brackets 1c2ac798cd UI: Persist selected tab on resize. 2016-01-22 22:40:36 -08:00
Unknown W. Brackets f6772ec526 UI: Add a simple means of persisting data. 2016-01-22 22:40:16 -08:00
Unknown W. Brackets 9fa6777c3e Fix copy/paste mistake with growing views. 2016-01-04 06:46:06 -08:00
Unknown W. Brackets 85ad28d4cd Prettify fake RTTI for layout params.
Better not to make the RTTI/non-RTTI thing a problem in lots of places.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets e7f70ff8d0 Handle weighted LinearLayout children better.
This allows them to not stretch the parent completely, but still increase
the size of the parent.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets f64159a3f2 Respect AT_MOST when measuring ScrollViews. 2015-12-22 19:53:31 -08:00
Unknown W. Brackets 5c9cf65939 Allow AnchorLayouts to prevent overflow.
This is useful to propagate the bounds into children.
2015-12-22 19:52:23 -08:00
Henrik Rydgard ea69adb68b Fix scrolling in Combo Key setup. Fixes #8097. 2015-10-31 13:45:57 +01:00
Henrik Rydgard dc4fb4ca76 Fix #7884 by fixing silly UI layout bug 2015-09-07 23:51:25 +02:00
Unknown W. Brackets f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00