0

Ext.Net ボタンのフォント サイズを変更する方法。私は試しました: Css:

.x-16
{
    font-size: 16px;
}

かみそり:

X.Button().Icon(Icon.PluginAdd).ID("NewTask").Text("New Task").Handler("Myapp.ShowWinAddTask").Cls("x-16")

何か案は?

4

2 に答える 2

1

You need to modify the CSS declaration to this

.x-16 .x-btn-default-small .x-btn-inner
{
    font-size: 16px !important;
}

and set the CtCls property to your custom class

X.Button().CtCls="x-16"
于 2013-08-04T15:37:55.393 に答える