mirror of
				https://github.com/edubart/otclient.git
				synced 2025-11-04 04:36:23 +01:00 
			
		
		
		
	* Remove fancy stuff from background * Improve text windows * More improvements to textedit
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
TextWindow < MainWindow
 | 
						|
  id: textWindow
 | 
						|
  size: 300 280
 | 
						|
 | 
						|
  Item
 | 
						|
    id: textItem
 | 
						|
    virtual: true
 | 
						|
    anchors.top: parent.top
 | 
						|
    anchors.left: parent.left
 | 
						|
 | 
						|
  Label
 | 
						|
    id: description
 | 
						|
    anchors.top: parent.top
 | 
						|
    anchors.left: textItem.right
 | 
						|
    anchors.right: parent.right
 | 
						|
    margin-left: 8
 | 
						|
    text-auto-resize: true
 | 
						|
    text-align: left
 | 
						|
    text-wrap: true
 | 
						|
 | 
						|
  MultilineTextEdit
 | 
						|
    id: text
 | 
						|
    anchors.top: textScroll.top
 | 
						|
    anchors.left: parent.left
 | 
						|
    anchors.right: textScroll.left
 | 
						|
    anchors.bottom: textScroll.bottom
 | 
						|
    vertical-scrollbar: textScroll
 | 
						|
    text-wrap: true
 | 
						|
 | 
						|
  VerticalScrollBar
 | 
						|
    id: textScroll
 | 
						|
    anchors.top: description.bottom
 | 
						|
    anchors.bottom: okButton.top
 | 
						|
    anchors.right: parent.right
 | 
						|
    margin-top: 10
 | 
						|
    margin-bottom: 10
 | 
						|
    step: 16
 | 
						|
    pixels-scroll: true
 | 
						|
 | 
						|
  Button
 | 
						|
    id: okButton
 | 
						|
    !text: tr('Ok')
 | 
						|
    anchors.bottom: parent.bottom
 | 
						|
    anchors.right: next.left
 | 
						|
    margin-right: 10
 | 
						|
    width: 60
 | 
						|
 | 
						|
  Button
 | 
						|
    id: cancelButton
 | 
						|
    !text: tr('Cancel')
 | 
						|
    anchors.bottom: parent.bottom
 | 
						|
    anchors.right: parent.right
 | 
						|
    width: 60
 |