Merge pull request #323 from Sergwest585/main
FullCheckBox resize function
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
consumer='change_sensitivity'>
|
||||
</trackbar>
|
||||
<panel id='search_panel' size='380,60' padding='2' interval='1' color='#0000004C'>
|
||||
<textbox id='search_textbox' multiline='false' size='300,20' consumer='function(x) search_text=x refresh_search() end'></textbox>
|
||||
<textbox id='search_textbox' multiline='false' size='300,20' consumer='function(x) refresh_search() end'></textbox>
|
||||
</panel>
|
||||
<panel id='bindings_panel' size='380,204' padding='2' interval='1' max-length='300' color='#0000004C'>
|
||||
<!-- content is generated in script -->
|
||||
|
||||
@@ -45,7 +45,7 @@ function on_open()
|
||||
refresh_sensitivity()
|
||||
|
||||
document.search_panel:add(string.format(
|
||||
"<checkbox size='20,20' id='search_key_checkbox' consumer='function(x) refresh_search() end' tooltip='%s'>%s</checkbox>",
|
||||
"<checkbox size='100,24' id='search_key_checkbox' consumer='function(x) refresh_search() end' tooltip='%s'>%s</checkbox>",
|
||||
gui.str("controls.key.tooltip", "settings"), gui.str("Key", "settings")
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user