-
公开(公告)号:US20230350702A1
公开(公告)日:2023-11-02
申请号:US18351734
申请日:2023-07-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Tao Wen , Xiao Xu , Jun Liu , Tengfei Cui
Abstract: A plurality of constraint relationships in a UI are identified and grouped into two types, a constraint relationship of a first type is solved in an integrated development environment (IDE), and a constraint relationship of a second type is a constraint relationship solved in a terminal or the IDE. The plurality of constraint relationships are used to determine a layout of one or more components in the UI. The IDE calculates a first intermediate solution set based on the constraint relationship of the first type in the plurality of constraint relationships. The first intermediate solution set is used to determine the layout of the one or more components in the UI together with the constraint relationship of the second type.
-
公开(公告)号:US11947982B2
公开(公告)日:2024-04-02
申请号:US18351734
申请日:2023-07-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Tao Wen , Xiao Xu , Jun Liu , Tengfei Cui
Abstract: A plurality of constraint relationships in a UI are identified and grouped into two types, a constraint relationship of a first type is solved in an integrated development environment (IDE), and a constraint relationship of a second type is a constraint relationship solved in a terminal or the IDE. The plurality of constraint relationships are used to determine a layout of one or more components in the UI. The IDE calculates a first intermediate solution set based on the constraint relationship of the first type in the plurality of constraint relationships. The first intermediate solution set is used to determine the layout of the one or more components in the UI together with the constraint relationship of the second type.
-