ai win positions options added to the prefs page. see #685
This commit is contained in:
parent
60d4425f9b
commit
eadc69d755
3 changed files with 46 additions and 7 deletions
|
|
@ -1908,5 +1908,25 @@
|
|||
"prefs_THStats_2": {
|
||||
"message": "Click here! Try ThunderStats!",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_OptionText_chatgpt_win_pos_text":{
|
||||
"message": "AI chat window position",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_OptionText_chatgpt_win_top":{
|
||||
"message": "Top",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_OptionText_chatgpt_win_left":{
|
||||
"message": "Left",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_chatgpt_win_save_position": {
|
||||
"message": "Automatically save the window position when using the close button.",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_chatgpt_win_position_info":{
|
||||
"message": "Leave empty to use the default position.",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,11 +69,7 @@ div#miczDescription p{
|
|||
margin-top: 0px;
|
||||
}
|
||||
|
||||
input#chatgpt_win_width{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
input#chatgpt_win_height{
|
||||
input.win_prop{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<td class="nb">
|
||||
<label>
|
||||
<span class="dims_label">__MSG_prefs_OptionText_chatgpt_win_height__</span>
|
||||
<input type="number" id="chatgpt_win_height" name="chatgpt_win_height" class="option-input" />
|
||||
<input type="number" id="chatgpt_win_height" name="chatgpt_win_height" class="option-input win_prop" />
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -36,7 +36,30 @@
|
|||
<td class="nt"><i>__MSG_prefs_OptionText_chatgpt_win_dims_info__</i></td>
|
||||
<td class="nt">
|
||||
<span class="dims_label">__MSG_prefs_OptionText_chatgpt_win_width__</span>
|
||||
<input type="number" id="chatgpt_win_width" name="chatgpt_win_width" class="option-input" />
|
||||
<input type="number" id="chatgpt_win_width" name="chatgpt_win_width" class="option-input win_prop" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="nb"><span class="opt_title">__MSG_prefs_OptionText_chatgpt_win_pos_text__</span>
|
||||
<td class="nb">
|
||||
<label>
|
||||
<span class="dims_label">__MSG_prefs_OptionText_chatgpt_win_top__</span>
|
||||
<input type="number" id="chatgpt_win_top" name="chatgpt_win_top" class="option-input win_prop" />
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="nt nb"><i>__MSG_prefs_chatgpt_win_position_info__</td>
|
||||
<td class="nt nb">
|
||||
<span class="dims_label">__MSG_prefs_OptionText_chatgpt_win_left__</span>
|
||||
<input type="number" id="chatgpt_win_left" name="chatgpt_win_left" class="option-input win_prop" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="nt"> </td>
|
||||
<td class="nt">
|
||||
<input type="checkbox" id="chatgpt_win_save_position" name="chatgpt_win_save_position" class="option-input" />
|
||||
__MSG_prefs_chatgpt_win_save_position__
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue