Skip to content

Commit

Permalink
Merge pull request #2523 from sudheerj/master
Browse files Browse the repository at this point in the history
SplitButton icon position fix
  • Loading branch information
Mertcan Diken authored Apr 14, 2017
2 parents a3acf4a + bc4ba07 commit e58f6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/splitbutton/splitbutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {Router} from '@angular/router';
selector: 'p-splitButton',
template: `
<div #container [ngClass]="{'ui-splitbutton ui-buttonset ui-widget':true,'ui-state-disabled':disabled}" [ngStyle]="style" [class]="styleClass">
<button #defaultbtn type="button" pButton [icon]="icon" [label]="label" cornerStyleClass="ui-corner-left" (click)="onDefaultButtonClick($event)" [disabled]="disabled" [attr.tabindex]="tabindex">
<button #defaultbtn type="button" pButton [icon]="icon" [iconPos]="iconPos" [label]="label" cornerStyleClass="ui-corner-left" (click)="onDefaultButtonClick($event)" [disabled]="disabled" [attr.tabindex]="tabindex">
</button><button type="button" pButton class="ui-splitbutton-menubutton" icon="fa-caret-down" cornerStyleClass="ui-corner-right" (click)="onDropdownClick($event,menu,container)" [disabled]="disabled"></button>
<div #menu [ngClass]="'ui-menu ui-menu-dynamic ui-widget ui-widget-content ui-corner-all ui-helper-clearfix ui-shadow'" [style.display]="menuVisible ? 'block' : 'none'"
[ngStyle]="menuStyle" [class]="menuStyleClass">
Expand Down Expand Up @@ -114,4 +114,4 @@ export class SplitButton implements OnInit,OnDestroy {
exports: [SplitButton,ButtonModule],
declarations: [SplitButton]
})
export class SplitButtonModule { }
export class SplitButtonModule { }

0 comments on commit e58f6c0

Please sign in to comment.