ORCSolver: An Efficient Solver for Adaptive GUI Layout with OR-Constraints
Open Access
- 21 April 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-14
Abstract
OR-constrained (ORC) graphical user interface layouts unify conventional constraint-based layouts with flow layouts, which enables the definition of flexible layouts that adapt to screens with different sizes, orientations, or aspect ratios with only a single layout specification. Unfortunately, solving ORC layouts with current solvers is time-consuming and the needed time increases exponentially with the number of widgets and constraints. To address this challenge, we propose ORCSolver, a novel solving technique for adaptive ORC layouts, based on a branch-and-bound approach with heuristic preprocessing. We demonstrate that ORCSolver simplifies ORC specifications at runtime and our approach can solve ORC layout specifications efficiently at near-interactive rates.Keywords
All Related Versions
This publication has 60 references indexed in Scilit:
- Domain Specific High-Level Constraints for User Interface LayoutConstraints, 2008
- The Cassowary linear arithmetic constraint solving algorithmACM Transactions on Computer-Human Interaction, 2001
- The Amulet environment: new models for effective user interface software developmentIEEE Transactions on Software Engineering, 1997
- Multi‐way versus one‐way constraints in user interfaces: Experience with the deltablue algorithmSoftware: Practice and Experience, 1993
- Constraint hierarchiesHigher-Order and Symbolic Computation, 1992
- Interactive specification of flexible user interface displaysACM Transactions on Information Systems, 1990
- An incremental constraint solverCommunications of the ACM, 1990
- A two-view approach to constructing user interfacesACM SIGGRAPH Computer Graphics, 1989
- Creating highly-interactive and graphical user interfaces by demonstrationACM SIGGRAPH Computer Graphics, 1986
- An algorithm for quadratic programmingNaval Research Logistics Quarterly, 1956