Fix tag/slice properties: focus name by default instead of user data

This commit is contained in:
Gaspar Capello 2021-01-15 10:14:04 -03:00 committed by David Capello
parent a3072fba41
commit 61e469d126
3 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Aseprite --> <!-- Aseprite -->
<!-- Copyright (C) 2019-2020 Igara Studio S.A. --> <!-- Copyright (C) 2019-2021 Igara Studio S.A. -->
<!-- Copyright (C) 2017-2018 David Capello --> <!-- Copyright (C) 2017-2018 David Capello -->
<gui> <gui>
<window id="slice_properties" text="@.title"> <window id="slice_properties" text="@.title">
<vbox> <vbox>
<grid id="properties_grid" columns="3"> <grid id="properties_grid" columns="3">
<label id="label1" text="@.name" /> <label id="label1" text="@.name" />
<entry id="name" maxsize="256" cell_align="horizontal" expansive="true" /> <entry id="name" maxsize="256" magnet="true" cell_align="horizontal" expansive="true" />
<button id="user_data" icon="icon_user_data" maxsize="32" tooltip="@.user_data_tooltip" /> <button id="user_data" icon="icon_user_data" maxsize="32" tooltip="@.user_data_tooltip" />
</grid> </grid>
<grid columns="2"> <grid columns="2">

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Aseprite --> <!-- Aseprite -->
<!-- Copyright (C) 2019-2020 Igara Studio S.A. --> <!-- Copyright (C) 2019-2021 Igara Studio S.A. -->
<!-- Copyright (C) 2015-2018 David Capello --> <!-- Copyright (C) 2015-2018 David Capello -->
<gui> <gui>
<window id="tag_properties" text="@.title"> <window id="tag_properties" text="@.title">
<vbox> <vbox>
<grid id="properties_grid" columns="3"> <grid id="properties_grid" columns="3">
<label text="@.name" /> <label text="@.name" />
<entry maxsize="256" id="name" cell_align="horizontal" expansive="true" /> <entry maxsize="256" id="name" magnet="true" cell_align="horizontal" expansive="true" />
<button id="user_data" icon="icon_user_data" maxsize="32" tooltip="@general.user_data" /> <button id="user_data" icon="icon_user_data" maxsize="32" tooltip="@general.user_data" />
<label text="@.from" /> <label text="@.from" />
<expr id="from" cell_hspan="2" /> <expr id="from" cell_hspan="2" />

View File

@ -1,11 +1,11 @@
<!-- Aseprite --> <!-- Aseprite -->
<!-- Copyright (C) 2020 by Igara Studio S.A. --> <!-- Copyright (C) 2020-2021 by Igara Studio S.A. -->
<!-- Copyright (C) 2001-2017 by David Capello --> <!-- Copyright (C) 2001-2017 by David Capello -->
<gui> <gui>
<hbox id="user_data"> <hbox id="user_data">
<label id="color_label" text="@.color" /> <label id="color_label" text="@.color" />
<label id="entry_label" text="@.user_data" /> <label id="entry_label" text="@.user_data" />
<colorpicker id="color" simple="true" expansive="true" /> <colorpicker id="color" simple="true" expansive="true" />
<entry id="entry" magnet="true" maxsize="65535" minwidth="128" expansive="true" /> <entry id="entry" maxsize="65535" minwidth="128" expansive="true" />
</hbox> </hbox>
</gui> </gui>