Skip to content

Commit 90f297c

Browse files
committed
Merge branch 'feature/update-codexp-tool-window-name' into develop
- Add icons for plugin and tool window. - Add images in CodeXP dashboard.
2 parents 0619eb3 + 7a1decd commit 90f297c

File tree

8 files changed

+21
-6
lines changed

8 files changed

+21
-6
lines changed

src/main/java/com/github/ilovegamecoding/intellijcodexp/form/CodeXPDashboard.form

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<grid id="27dc6" binding="pMain" layout-manager="GridLayoutManager" row-count="12" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
44
<margin top="0" left="0" bottom="0" right="0"/>
55
<constraints>
6-
<xy x="20" y="20" width="606" height="614"/>
6+
<xy x="20" y="20" width="606" height="622"/>
77
</constraints>
88
<properties/>
99
<border type="none"/>
@@ -141,7 +141,7 @@
141141
</grid>
142142
</children>
143143
</grid>
144-
<grid id="26d53" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
144+
<grid id="26d53" layout-manager="GridLayoutManager" row-count="1" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
145145
<margin top="8" left="8" bottom="8" right="8"/>
146146
<constraints>
147147
<grid row="0" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
@@ -151,7 +151,7 @@
151151
<children>
152152
<component id="82707" class="javax.swing.JLabel">
153153
<constraints>
154-
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
154+
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
155155
</constraints>
156156
<properties>
157157
<font name="Noto Sans Black" size="28" style="0"/>
@@ -160,9 +160,19 @@
160160
</component>
161161
<hspacer id="6219b">
162162
<constraints>
163-
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
163+
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
164164
</constraints>
165165
</hspacer>
166+
<component id="10717" class="javax.swing.JLabel">
167+
<constraints>
168+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
169+
</constraints>
170+
<properties>
171+
<icon value="images/pluginIcon.png"/>
172+
<iconTextGap value="0"/>
173+
<text value=""/>
174+
</properties>
175+
</component>
166176
</children>
167177
</grid>
168178
<grid id="42abc" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -367,7 +377,7 @@
367377
</children>
368378
</grid>
369379
<grid id="588b9" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
370-
<margin top="16" left="8" bottom="0" right="0"/>
380+
<margin top="16" left="8" bottom="8" right="0"/>
371381
<constraints>
372382
<grid row="7" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
373383
</constraints>

src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
<extensions defaultExtensionNs="com.intellij">
1212
<toolWindow factoryClass="com.github.ilovegamecoding.intellijcodexp.toolWindow.CodeXPToolWindowFactory"
13-
id="CodeXPToolWindow"/>
13+
anchor="right"
14+
id="CodeXP Dashboard" icon="icons/toolWindowIcon.svg" />
1415
<applicationService serviceImplementation="com.github.ilovegamecoding.intellijcodexp.services.CodeXPService"/>
1516
<notificationGroup displayType="BALLOON" id="CodeXP"/>
1617
</extensions>
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
801 Bytes
Loading
798 Bytes
Loading

0 commit comments

Comments
 (0)