123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596 |
- <!DOCTYPE html>
- <html dir="ltr">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <title>Options/Tabs - XOWA</title>
- <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
- <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
- <style>
- .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
- .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
- .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
- .options_textbox {padding: 2px; border: 1px solid black;}
- .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
- .options_textarea {padding: 2px; border: 1px solid black;}
- .options_select {padding: 2px; border: 1px solid black;}
- .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
- .options_checkbox {padding: 2px; border: 1px solid black;}
- .options_readonly {background-color:#F9F9F9;}
- </style>
- <style>
- .optionsButton
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: lightgray;
- text-align: center;
- }
- .optionsLink
- {
- color: black !important;
- text-decoration: none;
- }
- .optionsButton.active
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: dimgray;
- color: white !important;
- border: solid 1px dimgray;
- }
- .optionsButton.active a
- {
- color: white !important;
- }
- .tabs
- {
- width: 100%;
- margin-top: 10px;
- }
- .tab-links ul
- {
- margin-left: -40px;
- }
- .tab-links li
- {
- margin: 0px 0px 0px 0px;
- float: left;
- list-style: none;
- }
- .tab-links a
- {
- padding: 9px 15px 9px 15px;
- border-radius: 3px 3px 0px 0px;
- background: #f0f0f0;
- font-family: 'Segoe UI';
- font-size: 13px;
- color: black !important;
- text-decoration: none;
- border-radius: 3px;
- border-top: solid 1px gray;
- border-left: solid 1px gray;
- border-right: solid 1px gray;
- }
- .tab-links a:hover
- {
- background: #B0B0B0;
- text-decoration: none;
- }
- li.active a, li.active a:hover
- {
- background: #fff;
- color: #4c4c4c;
- font-weight: bold;
- }
- .tab-content
- {
- padding: 15px;
- border-radius: 3px;
- background: #fff;
- border-top: solid 1px gray;
- margin-top: 5px;
- min-height: 300px;
- }
- </style>
- <style>
- .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
- .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
- .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
- .options_textbox {padding: 2px; border: 1px solid black;}
- .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
- .options_textarea {padding: 2px; border: 1px solid black;}
- .options_select {padding: 2px; border: 1px solid black;}
- .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
- .options_checkbox {padding: 2px; border: 1px solid black;}
- .options_readonly {background-color:#F9F9F9;}
- </style>
- <style>
- .optionsButton
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: lightgray;
- text-align: center;
- }
- .optionsLink
- {
- color: black !important;
- text-decoration: none;
- }
- .optionsButton.active
- {
- width: 100px;
- height: 40px;
- font-family: 'Segoe UI';
- font-size: 12px;
- margin-left: -5px;
- cursor: pointer;
- background-color: dimgray;
- color: white !important;
- border: solid 1px dimgray;
- }
- .optionsButton.active a
- {
- color: white !important;
- }
- .tabs
- {
- width: 100%;
- margin-top: 10px;
- }
- .tab-links ul
- {
- margin-left: -40px;
- }
- .tab-links li
- {
- margin: 0px 0px 0px 0px;
- float: left;
- list-style: none;
- }
- .tab-links a
- {
- padding: 9px 15px 9px 15px;
- border-radius: 3px 3px 0px 0px;
- background: #f0f0f0;
- font-family: 'Segoe UI';
- font-size: 13px;
- color: black !important;
- text-decoration: none;
- border-radius: 3px;
- border-top: solid 1px gray;
- border-left: solid 1px gray;
- border-right: solid 1px gray;
- }
- .tab-links a:hover
- {
- background: #B0B0B0;
- text-decoration: none;
- }
- li.active a, li.active a:hover
- {
- background: #fff;
- color: #4c4c4c;
- font-weight: bold;
- }
- .tab-content
- {
- padding: 15px;
- border-radius: 3px;
- background: #fff;
- border-top: solid 1px gray;
- margin-top: 5px;
- min-height: 300px;
- }
- </style>
- </head>
- <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
- <div id="mw-page-base" class="noprint"></div>
- <div id="mw-head-base" class="noprint"></div>
- <div id="content" class="mw-body">
- <h1 id="firstHeading" class="firstHeading"><span>Options/Tabs</span></h1>
- <div id="bodyContent" class="mw-body-content">
- <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
- <div id="contentSub"></div>
- <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
-
- <div>
- <table>
- <tr>
- <td class='optionsButton active'>
- <a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
- </td>
- <td class='optionsButton'>
- <a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
- </td>
- </tr>
- </table>
- </div>
- <div class="tabs">
- <div>
- <ul class='tab-links' style='margin-left:0px;'>
- <li class=''>
- <a href='/wiki/Options/Window'>Window</a>
- </li>
- <li class=''>
- <a href='/wiki/Options/Language'>Language</a>
- </li>
- <li class='active'>
- <a href='/wiki/Options/Tabs'>Tabs</a>
- </li>
- <li class=''>
- <a href='/wiki/Options/Startup'>Startup</a>
- </li>
- </ul>
- </div><br>
- <div class='tab-content'>
- <div id="toc" class="toc">
- <div id="toctitle">
- <h2>
- Contents
- </h2>
- </div>
- <ul>
- <li class="toclevel-1 tocsection-1">
- <a href="#Buttons"><span class="tocnumber">1</span> <span class="toctext">Buttons</span></a>
- <ul>
- <li class="toclevel-2 tocsection-2">
- <a href="#Position_.2F_Size"><span class="tocnumber">1.1</span> <span class="toctext">Position / Size</span></a>
- </li>
- <li class="toclevel-2 tocsection-3">
- <a href="#Appearance"><span class="tocnumber">1.2</span> <span class="toctext">Appearance</span></a>
- </li>
- <li class="toclevel-2 tocsection-4">
- <a href="#Title"><span class="tocnumber">1.3</span> <span class="toctext">Title</span></a>
- </li>
- </ul>
- </li>
- <li class="toclevel-1 tocsection-5">
- <a href="#Notes"><span class="tocnumber">2</span> <span class="toctext">Notes</span></a>
- </li>
- </ul>
- </div>
- <div style='float:right; margin-right:10px; margin-top:5px;'>
- <p>
- <a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
- </p>
- </div><br>
-
- <p>
- For more info, see <a href="http://xowa.org/wiki/home/page/App/UI/Tabs.html" id="xolnki_2" title="App/UI/Tabs">App/UI/Tabs</a>
- </p>
- <h2>
- <span class="mw-headline" id="Buttons">Buttons</span>
- </h2>
- <h3>
- <span class="mw-headline" id="Position_.2F_Size">Position / Size</span>
- </h3>
- <table class='options_table'>
- <tr>
- <td class='options_row_label'>
- Place on top: <sup id="cite_ref-place_on_top_0-0" class="reference"><a href="#cite_note-place_on_top-0">[1]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.place_on_top" type="checkbox" class='options_checkbox' id='xowa_prop_0' checked='checked'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Height: <sup id="cite_ref-height_1-0" class="reference"><a href="#cite_note-height-1">[2]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.height" class="options_textbox" style="width: 100px;" id='xowa_prop_1' value='20'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Hide if one: <sup id="cite_ref-hide_if_one_2-0" class="reference"><a href="#cite_note-hide_if_one-2">[3]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.hide_if_one" type="checkbox" class='options_checkbox' id='xowa_prop_2'>
- </td>
- </tr>
- </table>
- <h3>
- <span class="mw-headline" id="Appearance">Appearance</span>
- </h3>
- <table class='options_table'>
- <tr>
- <td class='options_row_label'>
- Curved: <sup id="cite_ref-curved_3-0" class="reference"><a href="#cite_note-curved-3">[4]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.curved" type="checkbox" class='options_checkbox' id='xowa_prop_3'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Close button visible: <sup id="cite_ref-close_visible_4-0" class="reference"><a href="#cite_note-close_visible-4">[5]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.close_visible" type="checkbox" class='options_checkbox' id='xowa_prop_4' checked='checked'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Unselected close button visible: <sup id="cite_ref-unselected_close_visible_5-0" class="reference"><a href="#cite_note-unselected_close_visible-5">[6]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.unselected_close_visible" type="checkbox" class='options_checkbox' id='xowa_prop_5' checked='checked'>
- </td>
- </tr>
- </table>
- <h3>
- <span class="mw-headline" id="Title">Title</span>
- </h3>
- <table class='options_table'>
- <tr>
- <td class='options_row_label'>
- Max chars <sup id="cite_ref-max_chars_6-0" class="reference"><a href="#cite_note-max_chars-6">[7]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.text_max_chars" class="options_textbox" style="width: 100px;" id='xowa_prop_6' value='40'>
- </td>
- </tr>
- <tr>
- <td class='options_row_label'>
- Min chars: <sup id="cite_ref-min_chars_7-0" class="reference"><a href="#cite_note-min_chars-7">[8]</a></sup>
- </td>
- <td>
- <input xowa_prop="app.cfg.get.gui.tabs.btns.text_min_chars" class="options_textbox" style="width: 100px;" id='xowa_prop_7' value='-1'>
- </td>
- </tr>
- </table>
- <p>
- <br>
- </p>
- <h2>
- <span class="mw-headline" id="Notes">Notes</span>
- </h2>
- <ol class="references">
- <li id="cite_note-place_on_top-0">
- <span class="mw-cite-backlink"><a href="#cite_ref-place_on_top_0-0">^</a></span> <span class="reference-text">Place buttons on top (default is <code>checked</code>)</span>
- <ul>
- <li>
- <span class="reference-text"><b>checked</b> to place buttons on top</span>
- </li>
- <li>
- <span class="reference-text"><b>unchecked</b> to place buttons on bottom</span>
- </li>
- </ul><span class="reference-text">NOTE: The underlying tab widget (SWT CTabFolder) does not allow buttons to be placed on the side.</span>
- </li>
- <li id="cite_note-height-1">
- <span class="mw-cite-backlink"><a href="#cite_ref-height_1-0">^</a></span> <span class="reference-text">Set height of tab button in pixels. (default is <code>20</code>)</span>
- </li>
- <li id="cite_note-hide_if_one-2">
- <span class="mw-cite-backlink"><a href="#cite_ref-hide_if_one_2-0">^</a></span>
- </li>
- <li id="cite_note-curved-3">
- <span class="mw-cite-backlink"><a href="#cite_ref-curved_3-0">^</a></span> <span class="reference-text">Draw button with curve. (default is <code>unchecked</code>)</span>
- <ul>
- <li>
- <span class="reference-text"><b>checked</b> to draw tab button with curve on right side</span>
- </li>
- <li>
- <span class="reference-text"><b>unchecked</b> to draw tab button as rounded rect</span>
- </li>
- </ul><span class="reference-text">NOTE: The underlying tab widget (SWT CTabFolder) does not allow other border embellishments.</span>
- </li>
- <li id="cite_note-close_visible-4">
- <span class="mw-cite-backlink"><a href="#cite_ref-close_visible_4-0">^</a></span> <span class="reference-text">Choose whether to show the close button (default is <code>checked</code>)</span>
- <ul>
- <li>
- <span class="reference-text"><b>checked</b> to show the close button on all tabs</span>
- </li>
- <li>
- <span class="reference-text"><b>unchecked</b> to hide the close button on all tabs</span>
- </li>
- </ul><span class="reference-text">NOTE: This setting overrides <code>Unselected close button visible</code></span>
- </li>
- <li id="cite_note-unselected_close_visible-5">
- <span class="mw-cite-backlink"><a href="#cite_ref-unselected_close_visible_5-0">^</a></span> <span class="reference-text">Choose whether to show the close button on unselected tabs (default is <code>checked</code>)</span>
- <ul>
- <li>
- <span class="reference-text"><b>checked</b> to show the close button on unselected tabs.</span>
- </li>
- <li>
- <span class="reference-text"><b>unchecked</b> to hide the close button on unselected tabs. The close button will still show for the selected tab.</span>
- </li>
- </ul><span class="reference-text">NOTE: This setting is overriden by <code>Close button visible</code></span>
- </li>
- <li id="cite_note-max_chars-6">
- <span class="mw-cite-backlink"><a href="#cite_ref-max_chars_6-0">^</a></span> <span class="reference-text">Select a maximum number of characters for the title (default is <code>40</code>)</span>
- <ul>
- <li>
- <span class="reference-text">This setting limits the maximum width of a tab: i.e.: I don't want my tabs to be wider than this.</span>
- </li>
- <li>
- <span class="reference-text">If the setting is -1 or the title has less characters than the min, the title will be unchanged</span>
- </li>
- </ul>
- <dl>
- <dd>
- <span class="reference-text">For example, a maximum of 5 and a title of "A" will show as "A"</span>
- </dd>
- </dl>
- <ul>
- <li>
- <span class="reference-text">Otherwise, the text is truncated to the maximum, and an ellipsis of "..." will be added</span>
- </li>
- </ul>
- <dl>
- <dd>
- <span class="reference-text">For example, a maximum of 5 and a title of "Maximum" will show as "Maxim..."</span>
- </dd>
- </dl>
- </li>
- <li id="cite_note-min_chars-7">
- <span class="mw-cite-backlink"><a href="#cite_ref-min_chars_7-0">^</a></span> <span class="reference-text">Select a minimum number of characters for the title (default is <code>-1</code>)</span>
- <ul>
- <li>
- <span class="reference-text">This setting generate a standard minimum width: i.e.: I want my tabs to be at least this wide.</span>
- </li>
- <li>
- <span class="reference-text">It works best with fixed width fonts. For other fonts, the results will be imprecise.</span>
- </li>
- <li>
- <span class="reference-text">If the setting is -1 or the title has more characters than the min, the title will be unchanged</span>
- </li>
- </ul>
- <dl>
- <dd>
- <span class="reference-text">For example, a minimum of 5 and a title of "Minimum" will show as "Minimum"</span>
- </dd>
- </dl>
- <ul>
- <li>
- <span class="reference-text">Otherwise, spaces will be padded on to the end of the title to reach the minimum.</span>
- </li>
- </ul>
- <dl>
- <dd>
- <span class="reference-text">For example, a minimum of 5 and a title of "A" will show as "A "</span>
- </dd>
- </dl>
- </li>
- </ol>
- </div>
- </div>
-
- </div>
- </div>
- </div>
- <div id="mw-head" class="noprint">
- <div id="left-navigation">
- <div id="p-namespaces" class="vectorTabs">
- <h3>Namespaces</h3>
- <ul>
- <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
- </ul>
- </div>
- </div>
- </div>
- <div id='mw-panel' class='noprint'>
- <div id='p-logo'>
- <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
- </div>
- <div class="portal" id='xowa-portal-home'>
- <h3>XOWA</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
- <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-stargin'>
- <h3>Getting started</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/wiki/home/page/App/Setup/System_requirements.html" title='Get XOWA's system requirements'>Requirements</a></li>
- <li><a href="http://xowa.org/wiki/home/page/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
- <li><a href="http://xowa.org/wiki/home/page/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
- <li><a href="http://xowa.org/wiki/home/page/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
- <li><a href="http://xowa.org/wiki/home/page/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-help'>
- <h3>Help</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/wiki/home/page/Help/About.html" title='Get more information about XOWA'>About</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
- <li><a href="http://xowa.org/wiki/home/page/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
- </ul>
- </div>
- </div>
-
- <div class="portal" id='xowa-portal-blog'>
- <h3>Blog</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/wiki/home/page/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-links'>
- <h3>Links</h3>
- <div class="body">
- <ul>
- <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
- <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
- <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-donate'>
- <h3>Donate</h3>
- <div class="body">
- <ul>
- <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
- <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
- <!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
- </ul>
- </div>
- </div>
- </div>
- </body>
- </html>
|