File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Sources/ScreenData/Objects Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,26 @@ public struct SomeStyle: Codable, Hashable {
55 public var foregroundColor : SomeColor ?
66 public var backgroundColor : SomeColor ?
77
8+ public var width : Int ?
9+ public var height : Int ?
10+
811 public var padding : Int
912
1013 public init (
1114 isHidden: Bool = false ,
1215 cornerRadius: Int = 0 ,
1316 foregroundColor: SomeColor ? = nil ,
1417 backgroundColor: SomeColor ? = nil ,
18+ width: Int ? = nil ,
19+ height: Int ? = nil ,
1520 padding: Int = 0
1621 ) {
1722 self . isHidden = isHidden
1823 self . cornerRadius = cornerRadius
1924 self . foregroundColor = foregroundColor
2025 self . backgroundColor = backgroundColor
26+ self . width = width
27+ self . height = height
2128 self . padding = padding
2229 }
2330}
You can’t perform that action at this time.
0 commit comments