Skip to content

Editing Stylesheet Using MyraPad

Roman Shapiro edited this page Jun 5, 2021 · 3 revisions

Overview

This tutorial demonstrates how a stylesheet could be edited using the MyraPad.

Tutorial.

  1. Download and unpack file: stylesheetEdit.zip.

    It consists from UI in MML(allControls.xmmp) and linked stylesheet(which is copy of Myra default stylesheet).

  2. Open allControls.xmmp in the MyraPad:

  3. Open stylesheet/default_ui_skin.xmms in any text editor.

  4. Now let's make button background - lightcoral.

    Find following line:

      <ButtonStyle Background="button" OverBackground="button-over" PressedBackground="button-down" />

    And replace it with:

      <ButtonStyle Background="#F08080" OverBackground="button-over" PressedBackground="button-down" />

    Save stylesheet/default_ui_skin.xml.

  5. Now, in the MyraPad, click File/Reload or press Ctrl+R.

    Observe - button backgrounds have become lightcoral: