Skip to content

Editing Stylesheet Using MyraPad

Roman Shapiro edited this page Oct 17, 2020 · 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.xml) and linked stylesheet(which is copy of Myra default stylesheet).

  2. Open allControls.xml in the MyraPad:

  3. Open stylesheet/default_ui_skin.xml 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:

Clone this wiki locally