mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-19 00:59:40 +03:00
feat(form-decompile,form-compile): HorizontalLocation у CommandBar (хвост дополнений)
Свойство horizontalLocation у элемента cmdBar (<CommandBar>): auto (дефолт, не эмитим) / left / right / center, forgiving + рус.синонимы. Переиспользует Get-HLocation от дополнений (+ добавлен center). Только у <CommandBar> в корпусе (104 шт, в осн. Right), не у ButtonGroup/Popup/AutoCommandBar. Компилятор (ps1+py байт-в-байт) + декомпилятор (захват <HorizontalLocation>). Форма с CommandBar HorizontalLocation → round-trip match. Кейс commands расширен, сертифицирован в 1С. Регресс 39/39 ps1+py. Закрывает остаток CommandBar>HorizontalLocation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"input": {
|
||||
"title": "Форма с командами",
|
||||
"elements": [
|
||||
{ "cmdBar": "Панель", "children": [
|
||||
{ "cmdBar": "Панель", "horizontalLocation": "right", "children": [
|
||||
{ "button": "Выполнить", "command": "Выполнить", "defaultButton": true },
|
||||
{ "button": "Закрыть", "stdCommand": "Close" }
|
||||
]},
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
</AutoCommandBar>
|
||||
<ChildItems>
|
||||
<CommandBar name="Панель" id="1">
|
||||
<HorizontalLocation>Right</HorizontalLocation>
|
||||
<ExtendedTooltip name="ПанельРасширеннаяПодсказка" id="2"/>
|
||||
<ChildItems>
|
||||
<Button name="Выполнить" id="3">
|
||||
|
||||
Reference in New Issue
Block a user