Scroll the focused preference into view

This commit is contained in:
Georg Bauer committed 2026-07-26 10:22:14 +02:00
1 parent 671724949f
commit c5e812f9b9
3 files changed
+132 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ use model_manager::{download_status_bar, format_bytes, format_duration};
use super::{
ActiveDownload, App, DetailTab, MAX_SIDEBAR_WIDTH, MIN_SIDEBAR_WIDTH, Message, MetricsPoint,
ModelDownload, ModelOperation, chat_scroll_id, composer_id, models_path,
ModelDownload, ModelOperation, chat_scroll_id, composer_id, models_path, preferences_scroll_id,
};
use crate::database::{ProjectWithSessions, Session, SessionState};
use crate::model::{
+1
View File
@@ -563,6 +563,7 @@ impl App {
column![
header,
scrollable(container(fields).padding(iced::Padding::ZERO.right(18)))
.id(preferences_scroll_id())
.height(Length::Fill),
footer
]