Feb 23, 2011, 11:46 AM
[CLOSED] HTMLEditor and scrollbars
Hm.... I tried to use HTMLEditor but it seems to have some problem with scrollbars (as attached) scrollbar is in the middle of element.
here is the code
here is the code
Window formWindow = new Ext.Net.Window
{
ID = "formWindow",
Width = 900,
Height = 600,
AutoShow = true,
AutoScroll = true,
Layout = "VBox",
Modal = true,
ButtonAlign = Alignment.Center,
CloseAction = CloseAction.Close,
LayoutConfig = {
new VBoxLayoutConfig {
Align = VBoxAlign.Stretch
}
},
Items = {
new Ext.Net.Panel {
Frame = true,
Height = 300,
Layout = "vbox",
AutoScroll = true,
LayoutConfig = {
new VBoxLayoutConfig {
Align = VBoxAlign.Stretch,
DefaultMargins = "1 0 1 0"
}
},
new NumberField {
ReadOnly = true,
DataIndex = "totalRealHours**",
FieldLabel = Labels.GetLabel("@SYS1151")
},
new HtmlEditor {
Width = 600,
ReadOnly = true,
DataIndex = "Description",
FieldLabel = Labels.GetLabel("@SYS104939")
}
}
},
new Ext.Net.GridPanel
{
StoreID = xplTaskTrackerHistoryStore.ClientID,
Flex = 1,
ColumnModel =
{
Columns = {
new Column { ColumnID = "networkAlias", Header = Labels.GetLabel("@SYS25815"), DataIndex = "networkAlias", Editable = false},
new Column { ColumnID = "Description", Header = Labels.GetLabel("@SYS81179"), DataIndex = "Description", Width = 300, Editable = false}
}
}
}
}
};
Last edited by Daniil; Feb 28, 2011 at 1:17 PM.
Reason: [CLOSED]