Skip to content

Commit 8a9a7c6

Browse files
committed
Show byte size in tooltip
1 parent 5060c3d commit 8a9a7c6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

core/src/com/biglybt/core/metasearch/impl/web/rss/RSSEngine.java

+4
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@
417417
result.setSizeFromHTML(lengthAtt.getValue(), 1024*1024 );
418418
}
419419
}
420+
}else if ( lc_child_name.equals( "contentlength" )){
421+
422+
result.setSizeFromHTML( value, 0 );
423+
420424
}else if(lc_child_name.equals( "category" )) {
421425

422426
result.setCategoryFromHTML( value );

uis/src/com/biglybt/ui/swt/columns/searchsubs/ColumnSearchSubResultSize.java

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public void refresh(TableCell cell) {
5555

5656
cell.setText( DisplayFormatters.formatByteCountToKiBEtc( size ));
5757

58+
cell.setToolTip( String.valueOf( size ));
59+
5860
TableColumnSWTUtils.setSizeAlpha( cell, size );
5961
}
6062
}

0 commit comments

Comments
 (0)