小编Tul*_*bie的帖子

在手机上查看时,Apps 脚本 Web 应用程序元素太小

在我的手机上,我的选择按钮非常小。我试图让它们加起来占据 100% 的水平空间,这样每一个都会占据 33% 的水平空间。

在我的计算机上,它们占据了 100% 的水平空间,就像我想要的那样。

如何为我的手机修复此问题?

编辑后的手机截图

html:

<div data-role="page" id="Gauntlet">
  <div data-role="header">
    <div data-role="navbar">
      <ul>
        <li><a href="#home" class="ui-btn-active ui-state-persist">Home</a></li>
      </ul>
    </div>
  </div>
  <div data-role="main" class="ui-content">
    <div data-role="collapsible-set">
      <div data-role="collapsible" data-collapsed="false" data-mini="true">
        <h3>Gauntlet Traits:</h3>
        <div class="ui-field-contain">
          <fieldset data-role="controlgroup" data-type="horizontal" class="custom-fieldset">
            <select id="myList1" data-mini="true"></select>
            <select id="myList2" data-mini="true"></select>
            <select id="myList3" data-mini="true"></select> 
          </fieldset>
        </div>
        <button type="button" id="submit" data-mini="true">Submit</button> 
      </div>
    </div>
    <div id="table_div"></div>
  </div>
  <div data-role="footer">
    <h2></h2>
  </div>
</div>
Run Code Online (Sandbox Code Playgroud)

CSS:

.custom-fieldset .ui-controlgroup-controls {
    width: 100% !important;
}

.custom-fieldset .ui-controlgroup-controls .ui-select {
    width: …
Run Code Online (Sandbox Code Playgroud)

mobile web-applications google-apps-script jquery-mobile

1
推荐指数
1
解决办法
901
查看次数

Google Apps Script TextFinder startFrom 不是从

我正在尝试使用 TextFinder,但在我的电子表格中,我不想在结果中返回标题行或第 1 列。我看到 TextFinder 有一个“startFrom”方法,它应该让你定义“搜索应该开始的单元格范围”......但我似乎无法让它工作。

var tf=ss
       .createTextFinder(text)
       .useRegularExpression(true)
       .ignoreDiacritics(true)
       .startFrom(ss.getRange("B2"));
var all=tf.findAll();
Run Code Online (Sandbox Code Playgroud)

我究竟做错了什么?我得到了结果,它们仍然包含第 1 行和 A 列的匹配项。

google-apps-script

0
推荐指数
1
解决办法
4052
查看次数