Im try use Intraweb 14.2.8. How to change TabHeight ? I set TabRowHeight to 32, and TabHeight to 32:
[
attachment=32]
has changed in design time:
[
attachment=35]
but in browser TabHeight does not change, it remains 16-20, although the TabRowHeight has changed.
[
attachment=36]
(07-31-2018, 03:38 AM)Rassamaha78 Wrote: [ -> ]Quote:Can you please post your DFM code for this control so I can test it?
Code:
object IWForm2: TIWForm2
Left = 0
Top = 0
Width = 555
Height = 400
RenderInvisibleControls = True
AllowPageAccess = True
ConnectionMode = cmAny
Background.Fixed = False
HandleTabs = False
LeftToRight = True
LockUntilLoaded = True
LockOnSubmit = True
ShowHint = True
XPTheme = True
DesignLeft = 8
DesignTop = 8
object IWTabControl1: TIWTabControl
Left = 72
Top = 80
Width = 433
Height = 265
RenderInvisibleControls = True
ActiveTabFont.Color = clWebWHITE
ActiveTabFont.FontFamily = 'Arial, Sans-Serif, Verdana'
ActiveTabFont.Size = 10
ActiveTabFont.Style = [fsBold]
InactiveTabFont.Color = clWebBLACK
InactiveTabFont.FontFamily = 'Arial, Sans-Serif, Verdana'
InactiveTabFont.Size = 10
InactiveTabFont.Style = []
ActiveTabColor = clWebDARKGRAY
InactiveTabColor = clWebLIGHTGRAY
ActivePage = 0
BorderOptions.NumericWidth = 0
BorderOptions.BorderWidth = cbwNumeric
BorderOptions.Style = cbsNone
BorderOptions.Color = clNone
Color = clWebSILVER
ClipRegion = False
TabPadding = 0
TabRowHeight = 32
TabHeight = 32
ActiveTabBorder.Color = clWebBLACK
ActiveTabBorder.Width = 0
InactiveTabBorder.Color = clWebBLACK
InactiveTabBorder.Width = 0
DesignSize = (
433
265)
object IWTabControl1Page0: TIWTabPage
Left = 0
Top = 32
Width = 433
Height = 233
RenderInvisibleControls = True
TabOrder = 0
Title = 'Page0'
BorderOptions.NumericWidth = 0
BorderOptions.BorderWidth = cbwNumeric
BorderOptions.Style = cbsNone
BorderOptions.Color = clNone
Color = clWebWHITE
ExplicitWidth = 321
ExplicitHeight = 153
end
object IWTabControl1Page1: TIWTabPage
Left = 0
Top = 32
Width = 433
Height = 233
RenderInvisibleControls = True
TabOrder = 1
Title = 'Page1'
BorderOptions.NumericWidth = 0
BorderOptions.BorderWidth = cbwNumeric
BorderOptions.Style = cbsNone
BorderOptions.Color = clNone
Color = clWebWHITE
ExplicitWidth = 321
ExplicitHeight = 153
end
end
end
Hello,
I can confirm that IWTabControl won't render as expected using this test case, which is quite surprising...
I'll check what is causing that and get back to you ASAP
I solved this problem with css:
Code:
.TABCONTROLNAMECSS-INACTIVE-TAB {
display: inline-block;
}
.TABCONTROLNAMECSS-ACTIVE-TAB {
display: inline-block;
}
(07-31-2018, 11:50 PM)Rassamaha78 Wrote: [ -> ]I solved this problem with css:
Code:
.TABCONTROLNAMECSS-INACTIVE-TAB {
display: inline-block;
}
.TABCONTROLNAMECSS-ACTIVE-TAB {
display: inline-block;
}
That's exactly what IW 15.0.10 does :-)