Fix spinner UI

This commit is contained in:
huangyuhui 2017-06-11 13:11:44 +08:00
parent 5a6c64377a
commit fbeabfcad2
16 changed files with 43 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,6 @@
*/
package org.jackhuang.hmcl.ui;
import java.awt.Font;
import java.io.IOException;
import javax.swing.DefaultComboBoxModel;
import javax.swing.filechooser.FileNameExtensionFilter;
@ -103,7 +102,7 @@ public class LauncherSettingsPanel extends RepaintPage {
lblModpack = new javax.swing.JLabel();
lblRestart = new javax.swing.JLabel();
tabLauncherSettings = new javax.swing.JTabbedPane();
tabLauncherSettings = new NewTabPane();
pnlGeneral = new Page().setAnimationEnabled(Settings.getInstance().isEnableAnimation());
lblProxy = new javax.swing.JLabel();
lblProxyHost = new javax.swing.JLabel();
@ -311,7 +310,7 @@ public class LauncherSettingsPanel extends RepaintPage {
.addContainerGap())
);
tabLauncherSettings.addTab("General", pnlGeneral);
tabLauncherSettings.addTab(C.i18n("launcher.tab.general"), pnlGeneral); // NOI18N
lblTheme.setText(C.i18n("launcher.theme")); // NOI18N
@ -449,7 +448,7 @@ public class LauncherSettingsPanel extends RepaintPage {
.addContainerGap())
);
tabLauncherSettings.addTab("UI", pnlUI);
tabLauncherSettings.addTab(C.i18n("launcher.tab.ui"), pnlUI); // NOI18N
lblAbout.setText(C.i18n("launcher.about")); // NOI18N
lblAbout.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
@ -471,7 +470,7 @@ public class LauncherSettingsPanel extends RepaintPage {
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
tabLauncherSettings.addTab("About", pnlAbout);
tabLauncherSettings.addTab(C.i18n("launcher.tab.about"), pnlAbout); // NOI18N
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
@ -496,7 +495,7 @@ public class LauncherSettingsPanel extends RepaintPage {
.addContainerGap())
);
tabLauncherSettings.getAccessibleContext().setAccessibleName("General");
tabLauncherSettings.getAccessibleContext().setAccessibleName("");
}// </editor-fold>//GEN-END:initComponents
private void cboDownloadSourceItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_cboDownloadSourceItemStateChanged

View File

@ -331,6 +331,9 @@ launcher.modpack=<html><a href="http://blog.163.com/huanghongxun2008@126/blog/st
launcher.lang=Language
launcher.restart=Options will be in operations only if restart this app.
launcher.log_font=Log Font
launcher.tab.general=General
launcher.tab.ui=UI
launcher.tab.about=About
launcher.title.game=Games
launcher.title.main=Home

View File

@ -331,6 +331,9 @@ launcher.modpack=<html><a href="http://blog.163.com/huanghongxun2008@126/blog/st
launcher.lang=Language
launcher.restart=Options will be in operations only if restart this app.
launcher.log_font=Log Font
launcher.tab.general=General
launcher.tab.ui=UI
launcher.tab.about=About
launcher.title.game=Games
launcher.title.main=Home

View File

@ -329,6 +329,9 @@ launcher.modpack=<html><a href="http://blog.163.com/huanghongxun2008@126/blog/st
launcher.lang=Language
launcher.restart=Options will be in operations only if restart this app.
launcher.log_font=Log Font
launcher.tab.general=General
launcher.tab.ui=UI
launcher.tab.about=About
launcher.title.game=Phiên bản & Mods
launcher.title.main=HMCL Main

View File

@ -329,6 +329,9 @@ launcher.modpack=<html><a href="http://blog.163.com/huanghongxun2008@126/blog/st
launcher.lang=Language
launcher.restart=Options will be in operations only if restart this app.
launcher.log_font=Log Font
launcher.tab.general=General
launcher.tab.ui=UI
launcher.tab.about=About
launcher.title.game=Phi\u00ean b\u1ea3n & Mods
launcher.title.main=HMCL Main

View File

@ -331,6 +331,9 @@ launcher.modpack=<html><a href="http://huangyuhui.duapp.com/link.php?type=modpac
launcher.lang=語言
launcher.restart=本介面選項需要重啟本啟動器生效
launcher.log_font=日誌字體
launcher.tab.general=通用
launcher.tab.ui=介面
launcher.tab.about=關於
launcher.title.game=遊戲設定
launcher.title.main=主頁

View File

@ -331,6 +331,9 @@ launcher.modpack=<html><a href="http://huangyuhui.duapp.com/link.php?type=modpac
launcher.lang=\u8a9e\u8a00
launcher.restart=\u672c\u4ecb\u9762\u9078\u9805\u9700\u8981\u91cd\u555f\u672c\u555f\u52d5\u5668\u751f\u6548
launcher.log_font=\u65e5\u8a8c\u5b57\u9ad4
launcher.tab.general=\u901a\u7528
launcher.tab.ui=\u4ecb\u9762
launcher.tab.about=\u95dc\u65bc
launcher.title.game=\u904a\u6232\u8a2d\u5b9a
launcher.title.main=\u4e3b\u9801

View File

@ -331,6 +331,9 @@ launcher.modpack=<html><a href="http://huangyuhui.duapp.com/link.php?type=modpac
launcher.lang=语言
launcher.restart=本界面选项需要重启本启动器生效
launcher.log_font=日志字体
launcher.tab.general=通用
launcher.tab.ui=界面
launcher.tab.about=关于
launcher.title.game=游戏设置
launcher.title.main=主页

View File

@ -331,6 +331,9 @@ launcher.modpack=<html><a href="http://huangyuhui.duapp.com/link.php?type=modpac
launcher.lang=\u8bed\u8a00
launcher.restart=\u672c\u754c\u9762\u9009\u9879\u9700\u8981\u91cd\u542f\u672c\u542f\u52a8\u5668\u751f\u6548
launcher.log_font=\u65e5\u5fd7\u5b57\u4f53
launcher.tab.general=\u901a\u7528
launcher.tab.ui=\u754c\u9762
launcher.tab.about=\u5173\u4e8e
launcher.title.game=\u6e38\u620f\u8bbe\u7f6e
launcher.title.main=\u4e3b\u9875

View File

@ -112,8 +112,6 @@ public class BESpinnerUI extends BasicSpinnerUI {
* @param type the type
*/
public GlyphButton(Component parent, Type type) {
// XPStyle xp = getXP();
// skin = xp.getSkin(parent, part);
this.type = type;
setBorder(null);
setContentAreaFilled(false);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 315 B