Preferences: one fixed size, buttons flush right, a real gear icon (#290)
- The dialog draws every page into a fixed, clipped 744x400 area, so no page (or translation) changes the window width; descriptions wrap and tall pages scroll inside it. - OK / Cancel / Apply sit flush right in the bottom bar (right-to-left layout within the fixed width); Restore Defaults stays left. - The "settings" icon is a gear: a solid ring with six square-ish teeth and a see-through centre hole, instead of the sun-like rays. - Scenario s46 visits every page and checks the window keeps its width and that Apply ends at the bottom bar's right edge (new `same_width` and `right_edge` scenario checks). Fixes #290 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
87bb2f37f8
commit
df09fdbc32
4 files changed
+130
-35
No files matched your search
@@ -0,0 +1,24 @@
|
||||
[
|
||||
{"note": "#290: Preferences keeps one size on every page; descriptions wrap inside it, and OK / Cancel / Apply sit flush right in the bottom bar."},
|
||||
{"click": {"handle": "titlebar:preferences"}},
|
||||
{"expect": {"prefs": {"dialog": "General"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}, "spans": {"inner": "prefs:footer", "outer": "prefs:window", "axis": "x", "tol": 12}}},
|
||||
{"widget": "Navigation"},
|
||||
{"expect": {"prefs": {"dialog": "Navigation"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "Fusion"},
|
||||
{"widget": "SolidWorks"},
|
||||
{"expect": {"prefs": {"nav": "solidworks"}, "same_width": "prefs:window"}},
|
||||
{"widget": "Keyboard Shortcuts"},
|
||||
{"expect": {"prefs": {"dialog": "Keyboard Shortcuts"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "Design"},
|
||||
{"expect": {"prefs": {"dialog": "Design"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "Graphics"},
|
||||
{"expect": {"prefs": {"dialog": "Graphics"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "Sketch"},
|
||||
{"expect": {"prefs": {"dialog": "Sketch"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "Selection"},
|
||||
{"expect": {"prefs": {"dialog": "Selection"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "General"},
|
||||
{"expect": {"prefs": {"dialog": "General"}, "same_width": "prefs:window", "right_edge": {"inner": "prefs:apply", "outer": "prefs:footer", "tol": 1}}},
|
||||
{"widget": "Cancel"},
|
||||
{"expect": {"prefs": {"dialog": null}}}
|
||||
]
|
||||
Reference in new issue
Block a user