theme: add linux system theme sources
This commit is contained in:
@@ -233,8 +233,7 @@ impl SizeTable {
|
||||
}
|
||||
}
|
||||
|
||||
/// Sets the medium class's text-field height to the platform's stated
|
||||
/// value, scaling the other classes by the same ratio.
|
||||
/// Sets the medium class's text-field height to the platform's stated value.
|
||||
pub fn set_input_height(&mut self, medium_input_height: Pixels) {
|
||||
let ratio = medium_input_height / self.medium.input_height;
|
||||
self.small.input_height *= ratio;
|
||||
|
||||
Reference in New Issue
Block a user