forked from brmlab/brmbar-github
		
	brmbar v3 BarButton: Fix fontSize property
This commit is contained in:
		
							parent
							
								
									5ac08ac318
								
							
						
					
					
						commit
						9afd1788d0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -9,7 +9,7 @@ Rectangle { | ||||||
|     border.color: "#ffffff" |     border.color: "#ffffff" | ||||||
| 
 | 
 | ||||||
|     property string text: "Button" |     property string text: "Button" | ||||||
|     property int fontSize: 46 |     property int fontSize: 44 | ||||||
| 
 | 
 | ||||||
|     signal buttonClick |     signal buttonClick | ||||||
|     onButtonClick: { /* Supplied by component user. */ } |     onButtonClick: { /* Supplied by component user. */ } | ||||||
|  | @ -18,7 +18,7 @@ Rectangle { | ||||||
|         id: text1 |         id: text1 | ||||||
|         color: "#ffffff" |         color: "#ffffff" | ||||||
|         text: parent.text |         text: parent.text | ||||||
|         font.pointSize: 44 |         font.pointSize: parent.fontSize | ||||||
|         scale: if (!mousearea1.pressed) { 1 } else { 0.95 } |         scale: if (!mousearea1.pressed) { 1 } else { 0.95 } | ||||||
|         horizontalAlignment: Text.AlignHCenter |         horizontalAlignment: Text.AlignHCenter | ||||||
|         anchors.fill: parent |         anchors.fill: parent | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Petr Baudis
						Petr Baudis