Dlg panelSize » 历史记录 » 修订 2
修订 1 (machenhe, 2022-04-29 14:04) → 修订 2/3 (yangdefeng, 2022-05-08 00:11)
_*{color:green}panelSize*_ 设定自定义对话框底板大小 %{color:deepPink}对于自适应可拉伸对话框底图有效 可实现将tab按钮列表放在对话框底图外部效果% 标签:命令定义|dlg_panelSize *格式* |命令名 |参数1 |参数2 | |panelSize|自适应底图宽|自适应底图高| *说明* * 参数1:自适应底图宽 * 参数2:自适应底图高 - - *%{color:deepskyblue}特戒引擎脚本示例:%* *使用前提1* 请开启配置开关"isUseCustomOKPanel" 请开启配置开关\"isUseCustomOKPanel\" |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt |配置文件|...\\Mir200\\Tejieconfig\\Tejieconfig.txt | |配置节点|[tjconfig] | |配置项 |isUseCustomOkPanel=1 | *使用前提2* 请配置补丁资源"lc",即找到以下配置项,加入 请配置补丁资源\"lc\",即找到以下配置项,加入 %{color:deeppink}lc% |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt |配置文件|...\\Mir200\\Tejieconfig\\Tejieconfig.txt | |配置节点|[tjconfig] | |配置项 |patch=aa,bb,lc | - - bq. [<notextile>@</notextile>main] #act goto <notextile>@</notextile>按钮列表 goto <notextile>@</notextile>会员 [<notextile>@</notextile>按钮列表] #act [[mov]] s$btnList ([[dlg_btnItem_|btnItem]]:ceye01:ceye02:1:254,150:1:-6,20:会员/<notextile>@</notextile>会员) [[inc]] s$btnList (btnItem:ceye01:ceye02:2:254,150:1:-6,20:活动/<notextile>@</notextile>活动) [<notextile>@</notextile>会员] #act [[openMerchantBigDlg]] ok_di 4 0 0 1 0 0 #say <notextile><</notextile>*{color:green}panelSize*:600:650> <[[dlg_btnList_|btnList]]:<$str(s$btnList)>:会员和活动按钮:572:75:1,600:30:1> <[[dlg_text_|text]]:会员页面展示内容{scolor=222}:50:50> [<notextile>@</notextile>活动] #act openMerchantBigDlg ok_di 4 0 0 1 0 0 #say <panelsize:600:650> <btnList:<$str(s$btnList)>:会员和活动按钮:572:75:1,600:30:2> <text:活动页面展示内容{scolor=254}:50:50>