Center editor dropdown chevrons and release 0.5.5 (by Codex)

This commit is contained in:
Codex committed 2026-10-23 14:49:13 +02:00
1 parent fe307dea41
commit 354baf2e6f
16 files changed
+134 -9

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Dropdown chevron alignment — Editor 0.5.5
The old chevron was too low and too far inside the button. RmlUI positions its
native `selectarrow` from the select's content box, which already excludes the
reserved right padding. The correction moves the existing glyph 28dp right and
8dp up, into that padding and onto the control's vertical center. Size, colour,
selected values and native select events stay the same.
These are actual SDL2/RmlUI captures with software OpenGL. All data comes from
`OpenBMHEditor --demo --page clubs`: generated clubs and project-authored
geometric crests. No original installation or savegame is involved. Temporary
MCP profiles use an automatically assigned localhost port; no token is visible
or included. Images are captured directly, without image generation or retouching.
| View | Native capture |
|---|---|
| Before: 0.5.4, Midnight / German | [Before](before-0.5.4.png) |
| After: 0.5.5, Midnight / German | [After](after-midnight-1440x900.png) |
| After: Silver / English | [Silver](after-silver-1440x900.png) |
| After: Matchday / German | [Matchday](after-matchday-1440x900.png) |
| Toolbar and inspector controls | [Main view](after-toolbar.png) |
| Click directly on the repositioned theme arrow | [Native open list](after-dropdown.png) |
| Small window, 1080×720, editor scale 0.78× | [Small](after-midnight-1080x720.png) |
| Large window, 2560×1600, editor scale 1.78× | [Large](after-midnight-2560x1600.png) |
[Capture parameters](native-captures.json) record the themes, languages, native
viewports and editor scales. The arrow remains inside the button at each scale.
Clicking its new position opens the native option list; Escape dismisses it.
The existing native GUI smoke verifies selection changes, all themes, both
languages, draft protection and navigation. This layout-only correction adds
no editor data or engine behaviour.
Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

@@ -0,0 +1,60 @@
{
"editor": "0.5.5",
"cases": [
{
"theme": "midnight",
"language": "de",
"viewport": [
1440,
900
],
"scale": 1.0,
"data": "generated demo",
"capture": "after-midnight-1440x900.png"
},
{
"theme": "silver",
"language": "en",
"viewport": [
1440,
900
],
"scale": 1.0,
"data": "generated demo",
"capture": "after-silver-1440x900.png"
},
{
"theme": "matchday",
"language": "de",
"viewport": [
1440,
900
],
"scale": 1.0,
"data": "generated demo",
"capture": "after-matchday-1440x900.png"
},
{
"theme": "midnight",
"language": "de",
"viewport": [
1080,
720
],
"scale": 0.78,
"data": "generated demo",
"capture": "after-midnight-1080x720.png"
},
{
"theme": "midnight",
"language": "de",
"viewport": [
2560,
1600
],
"scale": 1.7777777777777777,
"data": "generated demo",
"capture": "after-midnight-2560x1600.png"
}
]
}