0
RaisedButtonsコンポーネントは、material-uiのバージョンv0.15でもうfullWidth
にならず、これはv0.15-betaで機能しました。要素にminWidth: '100%'
を追加して解決しました。これは意図的なのですか、私はここで何か間違っていますか?RaisedButton fullWithがv0.15でもう展開されない
const buttonStyle = {
minWidth:'100%',//<- works with minWidth set
};
return (
<MuiThemeProvider muiTheme={muiTheme}>
<div style={style}>
<SelectField max-height={200} style={selectStyle} fullWidth={true} onChange={this.onFondsSelect} value={displayValue} id="fonds-selection">
{this.menuItems}
</SelectField>
<RaisedButton style={buttonStyle} onClick={this::this.startClick} fullWidth={true}>Button 1</RaisedButton><br/>
<RaisedButton style={buttonStyle} onClick={this.resetStart} fullWidth={1}>BUtton 2</RaisedButton>
</div>
</MuiThemeProvider>
);