Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text edit focus. #1212

Open
guilhermesidney opened this issue Oct 26, 2023 · 0 comments
Open

Text edit focus. #1212

guilhermesidney opened this issue Oct 26, 2023 · 0 comments

Comments

@guilhermesidney
Copy link

"TextEdit" is not getting focus when clicked, as shown in the code below:

MiniWindow
id: tradeWindow
!text: tr('NPC Trade')
height: 150
icon: /images/icons/icon-trade
@onclose: onMiniWindowClose()
&save: true
&autoOpen: true

MiniWindowContents
padding-left: 5
padding-right: 5
padding-bottom: 1
layout: verticalBox

TextEdit
  id: searchText
  size: 135 25
  !placeholder: tr('Type to search')

UIWidget
id: miniborder
anchors.bottom: parent.bottom
anchors.left: parent.left
image-source: /images/ui/miniborder
size: 14 14
margin-left: 2
margin-bottom: 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant