Redesign span layout around retained placement
This commit is contained in:
1 parent
ae0af8f5e3
commit
0aa03cf621
30 files changed
+501
-1321
No files matched your search
@@ -1,10 +1,8 @@
|
||||
//! Where the desktop app keeps its enrollment: `crate::client::config`'s
|
||||
//! [`EnrollmentStore`] pointed at `$XDG_CONFIG_HOME/ai-app-desktop`.
|
||||
//!
|
||||
//! Only the directory is this app's -- the file's name, its JSON, and its
|
||||
//! owner-only mode (MACHINE.md's rule for anything holding a bearer token)
|
||||
//! are the store's, shared with the Android client so the two cannot come
|
||||
//! to disagree about them.
|
||||
//! Only the directory is this app's. The shared store owns the file name,
|
||||
//! JSON, and owner-only mode required for a bearer token.
|
||||
|
||||
use crate::client::config::EnrollmentStore;
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -62,6 +62,7 @@ impl Composer {
|
||||
pub fn set_bottom_inset(&self, rsc: &mut impl UiRsc, inset: f32) {
|
||||
if let Some(pad) = rsc.ui_mut().widgets.get_mut(&self.outer_pad) {
|
||||
pad.padding.bottom = Len::abs(inset);
|
||||
pad.exact_region = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user