Compare commits
	
		
			No commits in common. "23fb28ce5c41908fe9285b5e69cfebf05b4f38e1" and "6d157eb9afcc956d79dadd30e893af3a1dd4b7e2" have entirely different histories.
		
	
	
		
			23fb28ce5c
			...
			6d157eb9af
		
	
		
@ -54,7 +54,7 @@ func (column Column) Arrange (hints tomo.LayoutHints, boxes []tomo.Box) {
 | 
				
			|||||||
			if expands(index) {
 | 
								if expands(index) {
 | 
				
			||||||
				nExpanding ++
 | 
									nExpanding ++
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				freeSpace -= float64(box.MinimumSize().Y)
 | 
									freeSpace -= float64(box.MinimumSize().X)
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		expandingSize = freeSpace / float64(nExpanding)
 | 
							expandingSize = freeSpace / float64(nExpanding)
 | 
				
			||||||
@ -125,7 +125,7 @@ func (row Row) Arrange (hints tomo.LayoutHints, boxes []tomo.Box) {
 | 
				
			|||||||
			if expands(index) {
 | 
								if expands(index) {
 | 
				
			||||||
				nExpanding ++
 | 
									nExpanding ++
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				freeSpace -= float64(box.MinimumSize().X)
 | 
									freeSpace -= float64(box.MinimumSize().Y)
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		expandingSize = freeSpace / float64(nExpanding)
 | 
							expandingSize = freeSpace / float64(nExpanding)
 | 
				
			||||||
 | 
				
			|||||||
@ -335,12 +335,12 @@ func (this scrollbarLayout) Arrange (hints tomo.LayoutHints, boxes []tomo.Box) {
 | 
				
			|||||||
	
 | 
						
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (this scrollbarLayout) RecommendedHeight (hints tomo.LayoutHints, boxes []tomo.Box, width int) int {
 | 
					func (this scrollbarLayout) RecommendedHeight (tomo.LayoutHints, []tomo.Box, int) int {
 | 
				
			||||||
	return this.MinimumSize(hints, boxes).X
 | 
						return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (this scrollbarLayout) RecommendedWidth (hints tomo.LayoutHints, boxes []tomo.Box, height int) int {
 | 
					func (this scrollbarLayout) RecommendedWidth (tomo.LayoutHints, []tomo.Box, int) int {
 | 
				
			||||||
	return this.MinimumSize(hints, boxes).Y
 | 
						return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (this scrollbarLayout) viewportContentRatio () float64 {
 | 
					func (this scrollbarLayout) viewportContentRatio () float64 {
 | 
				
			||||||
 | 
				
			|||||||
@ -184,12 +184,12 @@ func (this *scrollContainerLayout) Arrange (hints tomo.LayoutHints, boxes []tomo
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (this *scrollContainerLayout) RecommendedHeight (hints tomo.LayoutHints, boxes []tomo.Box, width int) int {
 | 
					func (this *scrollContainerLayout) RecommendedHeight (tomo.LayoutHints, []tomo.Box, int) int {
 | 
				
			||||||
	return this.MinimumSize(hints, boxes).X
 | 
						return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (this *scrollContainerLayout) RecommendedWidth (hints tomo.LayoutHints, boxes []tomo.Box, height int) int {
 | 
					func (this *scrollContainerLayout) RecommendedWidth (tomo.LayoutHints, []tomo.Box, int) int {
 | 
				
			||||||
	return this.MinimumSize(hints, boxes).Y
 | 
						return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func max (x, y int) int {
 | 
					func max (x, y int) int {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user