Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/src/gui/touchy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,27 @@ cut off, reduce the DPI setting.

All other font sizes can be changed on the Preferences tab.

=== Fitting the screen

Touchy bounds its window to the monitor and scrolls any tab whose content
is larger than the screen, so the window never grows past the display
edge (for example after loading a large tool table). The handwheel column
is hidden on the Preferences tab so the settings have the full width.

If the interface is still too large for a small screen, Touchy offers,
once, to shrink the display fonts to fit:

* *Shrink to fit and save* scales the fonts to the largest size that fits
and saves them as your preference (the font selectors update to match).
* *Not now* leaves the fonts unchanged and does not ask again for this
screen size; it is offered again only if you move to a smaller screen.
* *Never ask again* disables the offer on every screen.

To turn the offer back on, tick *Offer to shrink fonts to fit the screen*
in Preferences / Display Options, or set `fit_fonts = ask` in
`~/.touchy_preferences` (the *Never ask again* choice stores
`fit_fonts = never`).

=== Macros

Touchy can invoke O-word macros using the MDI interface. To configure
Expand Down
2 changes: 1 addition & 1 deletion src/emc/usr_intf/touchy/listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def next(self,b,count=1):
break
self.show_line(self.start_line)

def on_select(self, b):
def on_select(self, b, *args):
pass

def clear_startline(self):
Expand Down
22 changes: 20 additions & 2 deletions src/emc/usr_intf/touchy/touchy.glade
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,7 @@ F1 S1</property>
<child>
<object class="GtkTable" id="table3">
<property name="visible">True</property>
<property name="n_rows">5</property>
<property name="n_rows">6</property>
<property name="n_columns">3</property>
<child>
<object class="GtkLabel" id="controlfont">
Expand Down Expand Up @@ -3218,7 +3218,25 @@ F1 S1</property>
</packing>
</child>
<child>
<placeholder/>
<object class="GtkCheckButton" id="fitfontscheck">
<property name="label" translatable="yes">Offer to shrink fonts to fit the screen</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="focus_on_click">False</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_fitfontscheck_toggled"/>
</object>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">3</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"/>
<property name="x_padding">10</property>
<property name="y_padding">6</property>
</packing>
</child>
</object>
</child>
Expand Down
Loading
Loading