Modding:GUIs: Difference between revisions

From Vintage Story Wiki
Move CSS to the top of the page
(→‎Dialog Outline Modes: Add mode 2 screenshot and show both pixelated)
(Move CSS to the top of the page)
Line 1: Line 1:
{{GameVersion|1.15}}
{{GameVersion|1.15}}
{{#css:
  img.pixelated {
    image-rendering: pixelated;
  }
}}
<languages/><translate>
<languages/><translate>
<!--T:1-->
<!--T:1-->
Line 8: Line 15:


== Dialog Outline Modes ==
== Dialog Outline Modes ==
{{#css:
  img.pixelated {
    image-rendering: pixelated;
  }
}}
The [[Controls#Debug and macros|Cycle Dialog Outline Modes keybinding]] can be used to add outlines around GUI elements, making it much easier to understand how your code is translated into the visual GUI. Pressing the key cycles between the 3 modes. By default the key is bound to {{Keypress|Alt}} + {{Keypress|F10}}, but on some Linux distros it may need to be rebound.
The [[Controls#Debug and macros|Cycle Dialog Outline Modes keybinding]] can be used to add outlines around GUI elements, making it much easier to understand how your code is translated into the visual GUI. Pressing the key cycles between the 3 modes. By default the key is bound to {{Keypress|Alt}} + {{Keypress|F10}}, but on some Linux distros it may need to be rebound.


Confirmedusers
261

edits