• R/O
  • HTTP
  • SSH
  • HTTPS

TinyBannavi: Commit

タイニー番組ナビゲータ本体


Commit MetaInfo

Revisióna8f885f84233ae8113cbd8841561bbb53480ac43 (tree)
Tiempo2014-03-09 09:11:56
Autorpeeweedee <peeweedee@user...>
Commiterpeeweedee

Log Message

・リスト形式の一部の欄の幅変更が保持されない

Cambiar Resumen

Diferencia incremental

--- a/TinyBannavi/src/tainavi/AbsListedView.java
+++ b/TinyBannavi/src/tainavi/AbsListedView.java
@@ -2392,7 +2392,8 @@ public abstract class AbsListedView extends JPanel implements TickTimerListener
23922392 TableColumn column = jTable_listed.getColumnModel().getColumn(lc.getColumn());
23932393 if (b) {
23942394 column.setMinWidth(MIN_COLUMN_WIDTH);
2395- column.setPreferredWidth(lc.getIniWidth());
2395+ Integer w = bounds.getListedColumnSize().get(lc.toString());
2396+ column.setPreferredWidth(w != null ? w : lc.getIniWidth());
23962397 }
23972398 else {
23982399 column.setMinWidth(0);
--- a/TinyBannavi/src/tainavi/AbsReserveListView.java
+++ b/TinyBannavi/src/tainavi/AbsReserveListView.java
@@ -364,11 +364,11 @@ public abstract class AbsReserveListView extends JScrollPane {
364364 else {
365365 for ( Entry<String, Integer> en : rcmap.entrySet() ) {
366366 try {
367- bounds.getListedColumnSize().get(en.getKey());
367+ bounds.getRsvedColumnSize().get(en.getKey());
368368 }
369369 catch (NullPointerException e) {
370370 System.err.println(ERRID+en.getKey()+", "+e.toString());
371- bounds.getListedColumnSize().put(en.getKey(),en.getValue());
371+ bounds.getRsvedColumnSize().put(en.getKey(),en.getValue());
372372 }
373373 }
374374 }
--- a/TinyBannavi/src/tainavi/VersionInfo.java
+++ b/TinyBannavi/src/tainavi/VersionInfo.java
@@ -5,7 +5,7 @@ import java.util.regex.Pattern;
55
66
77 public class VersionInfo {
8- private static final String Version = "タイニー番組ナビゲータ 3.22.15β";
8+ private static final String Version = "タイニー番組ナビゲータ 3.22.16β";
99
1010 private static final String OSname = System.getProperty("os.name");
1111 private static final String OSvers = System.getProperty("os.version");
Show on old repository browser