Desktop: narrow side panel polish (designer review)
- The engine row: the name and depth go under the row when they do not fit beside the evaluation (⚙ covered them in a 240 pt panel); alone, the name is centred. - Stacked: the notation part grows by the engine's lines and settings. - The toolbar wraps a group at a time, without a separator at a row's end. - A move's cell is at most 160 pt (the notation under the board). - The filters over the list cast their shadow to the left; the counter on a line of its own loses its leading dot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4ebb1bb683
commit
c17f5bc1cb
5 changed files with 150 additions and 51 deletions
|
|
@ -428,7 +428,14 @@ impl Library {
|
|||
.show(ui.ctx(), |ui| {
|
||||
let frame = egui::Frame::side_top_panel(ui.style())
|
||||
.stroke(ui.visuals().window_stroke)
|
||||
.shadow(ui.visuals().window_shadow);
|
||||
// To the left, over the list (the window's own shadow falls
|
||||
// right and down, off the window).
|
||||
.shadow(egui::Shadow {
|
||||
offset: [-6, 0],
|
||||
blur: 16,
|
||||
spread: 0,
|
||||
color: egui::Color32::from_black_alpha(110),
|
||||
});
|
||||
frame.show(ui, |ui| {
|
||||
let inner = rect.shrink2(frame.total_margin().sum() / 2.0);
|
||||
ui.set_min_size(inner.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue