mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 10:30:34 +00:00
design-lint: props: derive the setters of print components (#[prop]) and drop the hand setters
This commit is contained in:
@@ -85,7 +85,7 @@ pub struct PrintPanel<'a> {
|
||||
#[prop]
|
||||
driver: bool,
|
||||
/// The driver's paper in points, as the caller last took it.
|
||||
#[prop]
|
||||
#[prop(quantity = "paper size the printer driver reports, in points")]
|
||||
page: Option<egui::Vec2>,
|
||||
/// Why the driver gave no page.
|
||||
#[prop]
|
||||
|
||||
Reference in New Issue
Block a user