_resizeTpiPanel

pre_develop
hjm 6 years ago
parent 5b64f42c1d
commit 4c92bab928

@ -153,9 +153,10 @@ var EXPAND = 0; // 放大
var SHRINK = 1; // 缩小 var SHRINK = 1; // 缩小
var repositoryTabHeight = 40 var repositoryTabHeight = 40
function _resizeTpiPanel = () { function _resizeTpiPanel () {
$("#game_left_contents").width('400px'); var _total = $(".labelN").width();
$("#game_right_contents").width( $(".labelN").width() - 400 + 'px'); $("#game_left_contents").width( _total * 0.35 + 'px');
$("#game_right_contents").width( _total * 0.65 + 'px');
} }
$(function(){ $(function(){
function update_rows_and_cols(rows) { function update_rows_and_cols(rows) {

Loading…
Cancel
Save