forked from 1b-agent/opencadstudio-upstream
ribbon: wrap a key-tip label anchor line over 100 columns
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
abbd8365e0
commit
18850e82e4
1 file changed
+4
-2
@@ -1012,8 +1012,10 @@ impl Ribbon {
|
||||
color: (!is_current || disabled)
|
||||
.then_some(theme.palette().background.base.text.scale_alpha(0.72)),
|
||||
});
|
||||
let label_el =
|
||||
keytips::label_anchor(|| keytips::label_id(&keytips::item_anchor(dd_id, cmd)), label_el);
|
||||
let label_el = keytips::label_anchor(
|
||||
|| keytips::label_id(&keytips::item_anchor(dd_id, cmd)),
|
||||
label_el,
|
||||
);
|
||||
|
||||
let item = button(
|
||||
row![checkmark, icon_el, label_el]
|
||||
|
||||
Reference in new issue
Block a user