atomize-modules #7
							
								
								
									
										22
									
								
								config/config.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								config/config.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| package config | ||||
| 
 | ||||
| // Padding returns the amount of internal padding elements should have. An | ||||
| // element's inner content (such as text) should be inset by this amount, | ||||
| // in addition to the inset returned by the pattern of its background. When | ||||
| // using the aforementioned inset values to calculate the element's minimum size | ||||
| // or the position and alignment of its content, all parameters in the | ||||
| // PatternState should be unset except for Case. | ||||
| func Padding () int { | ||||
| 	return 7 | ||||
| } | ||||
| 
 | ||||
| // Margin returns how much space should be put in between elements. | ||||
| func Margin () int { | ||||
| 	return 8 | ||||
| } | ||||
| 
 | ||||
| // HandleWidth returns how large grab handles should typically be. This is | ||||
| // important for accessibility reasons. | ||||
| func HandleWidth () int { | ||||
| 	return 16 | ||||
| } | ||||
| @ -111,24 +111,3 @@ func FontFaceItalic () font.Face { | ||||
| func FontFaceBoldItalic () font.Face { | ||||
| 	return defaultfont.FaceBoldItalic | ||||
| } | ||||
| 
 | ||||
| // Padding returns the amount of internal padding elements should have. An | ||||
| // element's inner content (such as text) should be inset by this amount, | ||||
| // in addition to the inset returned by the pattern of its background. When | ||||
| // using the aforementioned inset values to calculate the element's minimum size | ||||
| // or the position and alignment of its content, all parameters in the | ||||
| // PatternState should be unset except for Case. | ||||
| func Padding () int { | ||||
| 	return 7 | ||||
| } | ||||
| 
 | ||||
| // Margin returns how much space should be put in between elements. | ||||
| func Margin () int { | ||||
| 	return 8 | ||||
| } | ||||
| 
 | ||||
| // HandleWidth returns how large grab handles should typically be. This is | ||||
| // important for accessibility reasons. | ||||
| func HandleWidth () int { | ||||
| 	return 16 | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user