Repository navigation
Description
Request
@kostmain, MoonTerminal chat, 2026-10-28. Screenshot of Вид детектов, block Поля: the closed menus read Моне…, Стра…, Тип….
В окне настроек Вид детекта меню с длинными названиями не влезают в выбранное итоговое значение.
Чтобы понять, что в итоге выбрано приходиться открывать меню.
Проверь все аналогичные меню в других настройках, чтобы выбранное слово из меню в итоге полностью отображалось после его выбора.
Please verify the layout before implementing. The closed control must show the chosen word in full. A fixed box that is shorter than that word is the bug. Growing every box to the longest string in every language will overflow rows that were sized around the short box; the window has to follow the buttons.
Closed #1120 is a different window (module editor). Its period menu already grows to the label, and 1000 сд fits. Do not reopen it for this.
What is cut
Measured at the standard button size (Sm, 14px monospace), caret included, horizontal padding of the closed menu included. The open list is already wider and shows the full line. None of these closed menus have a tooltip with the full label.
Detect card fields (Вид детектов → Поля). Closed box is 76px wide, about five letters plus the arrow.
Russian that is cut: Монета → Моне…, Стратегия → Стра…, Тип биржи → Тип…. That is the screenshot.
Russian that fits: —, Время, Ядро, Бейдж, Биржа, Δ 24ч, Δ 1ч.
The same box also cuts, among others, Strategy, Exchange, Exchange type, Tipo de exchange, Tipo de corretora, Chiến lược, Borsa türü, Тип біржі. Three Russian long labels plus the three slot toggles still fit the current 560px popup. Tipo de corretora does not fit three-across in that popup, so the popup width has to be derived from the buttons (the module-list popup already derives its width from its band menu).
Module band in the caption-module list. Box is 104px, commented as sized to the longest band name. It is not.
Cut: Стакан верх, Стакан низ, Chart bottom, Book bottom, Topo do gráfico, Base do gráfico, Đỉnh biểu đồ, and the other long band names. Чарт верх is one pixel over and therefore becomes Чарт ве…. Чарт низ fits. Raising the box widens the popup, because the popup width is derived from it.
Sound menus fixed at 94px, same catalog:
Настройки ядра→Звуковые алертыТревоги: что ловить, columnЗвукНастройки ядра — экспертный режим
Cut: YES_MAST, Fatality, LetsRock (about 3px over) and ComeGetSome (clearly over). Shorter built-ins (Alarm, BABYTOY, ringout, …) fit. The open menu is wide enough for ComeGetSome.
Figures panel sound menu, 120px. Only ComeGetSome misses, by about 2px. A user sound file with a longer name misses too.
Chosen names in a fixed box (the word is the user's, so there is no longest label):
Настройки кнопок стратегий: strategy column 164px (about 16 letters), hook column 130px (about 11).без хукаfits.- Strategy cell on a figure row: 150px, about 14 letters.
- Telegram notification chat picker: 200px, about 20 letters of a chat title.
- Connections card, group picker: 200px with the arrow at the right edge; a long group name is cut. The fixed Russian choices
Авто (по счёту),Не учитывать,Отдельноfit. TurkishOtomatik (hesaba göre)and VietnameseTự động (theo tài khoản)do not.
Стратегия алертов in core settings already grows to the chosen name between 120 and 240. That is the behaviour the fixed name-boxes do not have.
Hotkeys, Вид переноса. This menu does not insert an ellipsis. It puts the whole phrase in a 176px button inside a 184px key cell. The phrase is wider than the cell: Параллельно к курсору, Сначала крупный объём, Последний выставленный, and the long phrases in other languages. The tail runs out of the cell.
Telegram bot menu, 140px. Russian fits (по биржам, по ядрам, Группы, По закрытию, По открытию). Cut elsewhere: Portuguese Pela data de fechamento / Pela data de abertura, Turkish Kapanış tarihine göre / Açılış tarihine göre / çekirdeğe göre, Ukrainian За датою закриття / За датою відкриття, Vietnamese Theo ngày đóng.
What already shows the chosen word
- Volumes popup, profile window:
Авто,Макс,1m,15m,1dfit the 80px box. - Module editor,
Периодand the timeframe menu: they grow to the label up to 160px.1000 сдfits. This is the Module editor: labels collide, Reset crosses the frame, period 1000 is cut off #1120 fix. - Module gap menu: only
0…24, no arrow glyph, fits. - Strategy field menus whose choices are the core's fixed list (
Last15mDelta,DVolToHVolDesc,Futures Only, …): the longest static token still fits the 180px box. A dynamic choice that is a strategy name uses that same box and is cut like the manual-button columns. - Settings page
Звуки сделок: the box is wider thanComeGetSome. - Storage margin (
120 минand the shorter steps) fits its box.
What to change
The closed menu should be as wide as the chosen label (arrow and padding included), the way the module-editor period menu and Стратегия алертов already are. Cap a user-typed name at the width of its row, and grow the popup when the cap would otherwise push the trailing buttons out — do not ellipsize a fixed vocabulary word to keep an old popup width.
Ship the check the module editor already has: every shipped language, the longest choice of each of these menus, at the standard size and at the shipped font delta, the closed control at least as wide as the label.
Activity
Alena-Selezneva commentedon Oct 29, 2026
2026-10-29, same bug, opposite paint
@kostmain, MoonTerminal chat. Hotkeys, tab
Мышь на стакане. Screenshot with yellow arrows on the closed move-kind buttons.The tab's own title is
Мышь на стакане. The arrows mark the second button on a move row (menu headerВид переноса), not the gesture button above it.What the shot shows
This menu still does not insert an ellipsis. The button stays 176px wide inside the 184px key cell, the same width as
Left dbl/Shift+Left/Не задано. The chosen phrase is centered and not clipped, so both ends leave the button. The arrows mark the left start (Параллельно к курсору,Последний выставленный). The caret leaves the right edge by the same amount. "The tail runs out of the cell" from the original write-up is the right side only; the left side is what he photographed, and it crosses straight intoГде работаетbecause the button sits on the left of a cell that is only 8px wider.Measured with Geist Mono Regular at the standard button size (14px, 8.4px per glyph that the font actually has). The caret
▾is not in that font, so its width is a fallback; the numbers below are the phrase plus the space before the caret, caret width not included:Последний выставленныйПараллельно к курсоруСначала крупный объёмСначала малый объёмСначала прибыльныйПоследний переносВсе в одну ценуНетThe three that are already wider than 176px overflow whether or not the padding sits inside that width. Each side also has 8px of padding, so the text area is tighter than 176 if that width is the outer box.
Other hotkey tabs, rechecked
Same button, same width. Their chosen labels fit, caret space included, even with padding inside the 176:
Shift+Left dbl— 126px. The button shows the short form (Left dbl), not the longer menu line with the MoonBot name in parentheses.Shift + колесо— 126px.Shift + ЛКМ— 100.8px.Частей: 10— 92.4px.Presets, trading commands, drawing, order shift and manual strategies have no second long menu on the button.
What he asked for is already this issue
Full chosen word, no abbreviation, inside the button. That is the "What to change" above: grow the closed control to the label, do not ellipsize a fixed vocabulary word. The places that already cut with
…stay in the original list. This comment only corrects the hotkeys paint (both edges, left one marked) and records that the other hotkey tabs do not overflow.Spanish
Primero mayor volumenandPrimero menor volumenare 21 letters, the same asПараллельно к курсору. Treat them with the Russian three.fix(ui): show the chosen word whole on closed menus (#1127) (#1239)