Compare commits
2 Commits
main
...
2ab78acaa6
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ab78acaa6 | |||
| 43279810a5 |
@@ -169,8 +169,9 @@ impl App {
|
||||
.default_width(260.0)
|
||||
// A hard ceiling: the panel is sized from its content, so any row
|
||||
// that asks for more width than there is would otherwise push it
|
||||
// wider every frame.
|
||||
.width_range(160.0..=460.0)
|
||||
// wider every frame. We set a minimum width but no maximum to
|
||||
// allow the user to make the panel as wide as they want.
|
||||
.width_range(160.0..=f32::INFINITY)
|
||||
.show_animated(ctx, show_files, |ui| {
|
||||
// The default theme renders unselected list rows fairly dim; bump
|
||||
// the widget text colours so file names stay legible (especially in
|
||||
|
||||
Reference in New Issue
Block a user