Fix Bug 46003
+ fix rev.4ce8507aca613b650d580d8b7a56ef04164f0813 (resize pivot tab)
This commit is contained in:
		
							parent
							
								
									9b2302cda9
								
							
						
					
					
						commit
						f336367b0b
					
				| 
						 | 
				
			
			@ -391,7 +391,8 @@ define([
 | 
			
		|||
                        if (!_flex) {
 | 
			
		||||
                            _flex = [];
 | 
			
		||||
                            _.each($active.find('.group.flex'), function(item) {
 | 
			
		||||
                                _flex.push($(item));
 | 
			
		||||
                                var el = $(item);
 | 
			
		||||
                                _flex.push({el: el, width: el.attr('data-group-width') || el.attr('max-width')}); //save flex element and it's initial width
 | 
			
		||||
                            });
 | 
			
		||||
                            data.flex = _flex;
 | 
			
		||||
                        }
 | 
			
		||||
| 
						 | 
				
			
			@ -399,7 +400,7 @@ define([
 | 
			
		|||
                        if ( _rightedge > _maxright) {
 | 
			
		||||
                            if (_flex.length>0) {
 | 
			
		||||
                                for (var i=0; i<_flex.length; i++) {
 | 
			
		||||
                                    var item = _flex[i];
 | 
			
		||||
                                    var item = _flex[i].el;
 | 
			
		||||
                                    if (item.outerWidth() > parseInt(item.css('min-width')))
 | 
			
		||||
                                        return;
 | 
			
		||||
                                    else
 | 
			
		||||
| 
						 | 
				
			
			@ -433,7 +434,7 @@ define([
 | 
			
		|||
                            if (_flex.length>0 && $active.find('.btn-slot.compactwidth').length<1) {
 | 
			
		||||
                                for (var i=0; i<_flex.length; i++) {
 | 
			
		||||
                                    var item = _flex[i];
 | 
			
		||||
                                    item.css('width', item.css('max-width'));
 | 
			
		||||
                                    item.el.css('width', item.width);
 | 
			
		||||
                                }
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -281,6 +281,7 @@
 | 
			
		|||
    .combo-template(60px);
 | 
			
		||||
 | 
			
		||||
    top: -7px;
 | 
			
		||||
    padding-right: 24px;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
 | 
			
		||||
    .view .dataview, .dropdown-menu {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -96,7 +96,7 @@
 | 
			
		|||
                        <span class="btn-slot split" id="slot-btn-slidesize"></span>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="group flex" id="slot-field-styles" style="width: 100%; min-width: 148px; max-width: 100%;"></div>
 | 
			
		||||
                <div class="group flex" id="slot-field-styles" style="width: 100%; min-width: 148px;" data-group-width="100%"></div>
 | 
			
		||||
            </section>
 | 
			
		||||
            <section class="panel" data-tab="ins">
 | 
			
		||||
                <div class="group">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -87,7 +87,7 @@ define([
 | 
			
		|||
                        '<span class="btn-slot text" id="slot-chk-banded-column"></span>' +
 | 
			
		||||
                    '</div>' +
 | 
			
		||||
                '</div>' +
 | 
			
		||||
                '<div class="group flex" id="slot-field-pivot-styles" style="width: 336px;max-width: 336px;min-width: 115px;">' +
 | 
			
		||||
                '<div class="group flex" id="slot-field-pivot-styles" style="width: 336px;max-width: 336px;min-width: 115px;" data-group-width="336px">' +
 | 
			
		||||
                '</div>' +
 | 
			
		||||
            '</section>';
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue