Age | Commit message (Collapse) | Author |
|
Previously it was only possible to specify whether items where aligned
to the start or centered in the cross direction of the layouts. It is
now additionally possible to align the items to the far end of the cross
direction or to resize them to match the size of the layout.
Terminology and behavior are loosely based on CSS's flexbox containers.
|
|
Prior to this change, a GUI layout was only affected by the screen size.
Now, a layout can additionally be influenced by the GUI dialog and widgets
that uses it. This capability is leveraged to implement the following
features:
* Layout elements that are not bound to a GUI widget do not take space.
This means that dialogs where the widgets shown depend on for example
a feature being enabled at configure time no longer have blank spaces.
* Widgets can define a minimal required size for their contents not to be
cut. For now this is only used for buttons so their width is always
sufficient for their caption not to be cut. This mechanism could be
applied to other widget types in the future.
|
|
|
|
|
|
|
|
Some backends may break as I only compiled SDL
|
|
svn-id: r48310
|
|
- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties
svn-id: r41266
|
|
svn-id: r41265
|
|
getParentW & getParentH to class ThemeLayoutStacked
svn-id: r35571
|
|
ThemeLayoutStacked (suggestions for a better name are welcome); stored padding data in a Common::Rect
svn-id: r35548
|
|
svn-id: r35481
|
|
svn-id: r35022
|
|
svn-id: r35018
|
|
svn-id: r34959
|
|
svn-id: r34936
|
|
svn-id: r34801
|
|
single getEvaluator() method
svn-id: r34789
|
|
svn-id: r34285
|
|
layout. Classic theme launcher now looks ok in g3x.
svn-id: r33906
|
|
svn-id: r33904
|
|
Added Builtin theme back.
Added Python script to automatically build themes.
svn-id: r33868
|
|
svn-id: r33818
|
|
Bugfix: Glitches with several layouts when using Aspect Ratio Correction.
svn-id: r33764
|
|
svn-id: r33711
|
|
G1X scaler GUI now loads. Added layout for the launcher menu.
MILESTONE: All core GUI dialogs/widgets working on G2x/G3x
MILESTONE: Completely removed old Evaluator/Parser.
Improved layout expanding again.
Improved XML parser.
Several bugfixes.
svn-id: r33704
|
|
Improved layout expansion in the layout parser.
Fixed serious coordinates initialization bug.
svn-id: r33702
|
|
Expanded documentation.
Added support for sub-blitting in the vector renderer.
svn-id: r33697
|
|
Misc fixes.
svn-id: r33692
|
|
Added support for importing layouts inside other layouts.
Misc bugfixes.
svn-id: r33676
|
|
Added support for Widget Type Declaration (makes XML much cleaner).
svn-id: r33661
|
|
svn-id: r33657
|
|
svn-id: r33651
|
|
svn-id: r33641
|
|
svn-id: r33631
|