View | Details | Raw Unified | Return to issue 117782
Collapse All | Expand All

(-)a/main/sc/source/ui/optdlg/tpcalc.cxx (+11 lines)
Lines 112-117 __EXPORT ScTpCalcOptions::~ScTpCalcOptions() Link Here
112
112
113
void ScTpCalcOptions::Init()
113
void ScTpCalcOptions::Init()
114
{
114
{
115
    const Size a6Size = aFtPrec.LogicToPixel( Size( 6, 6 ), MAP_APPFONT );
116
    const Size aMin = aFtPrec.CalcMinimumSize();
117
    const Point aPos = aFtPrec.GetPosPixel();
118
    const long nNewX = aPos.X() + aFtPrec.GetSizePixel().Width() - aMin.Width();
119
120
    aFtPrec.SetPosPixel( Point( nNewX, aPos.Y() ) );
121
    aFtPrec.SetSizePixel( aMin );
122
    aBtnGeneralPrec.SetSizePixel( Size(
123
        nNewX - a6Size.Width() - aBtnGeneralPrec.GetPosPixel().X(),
124
        aBtnGeneralPrec.GetSizePixel().Height() ) );
125
115
	aBtnIterate .SetClickHdl( LINK( this, ScTpCalcOptions, CheckClickHdl ) );
126
	aBtnIterate .SetClickHdl( LINK( this, ScTpCalcOptions, CheckClickHdl ) );
116
    aBtnGeneralPrec.SetClickHdl( LINK(this, ScTpCalcOptions, CheckClickHdl) );
127
    aBtnGeneralPrec.SetClickHdl( LINK(this, ScTpCalcOptions, CheckClickHdl) );
117
	aBtnDateStd .SetClickHdl( LINK( this, ScTpCalcOptions, RadioClickHdl ) );
128
	aBtnDateStd .SetClickHdl( LINK( this, ScTpCalcOptions, RadioClickHdl ) );
(-)a/main/sc/source/ui/src/optdlg.src (-1 / +2 lines)
Lines 160-167 TabPage RID_SCPAGE_CALC Link Here
160
    {
160
    {
161
        HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_GENERAL_PREC";
161
        HelpID = "sc:CheckBox:RID_SCPAGE_CALC:BTN_GENERAL_PREC";
162
        Pos = MAP_APPFONT ( 12 , 147 ) ;
162
        Pos = MAP_APPFONT ( 12 , 147 ) ;
163
        Size = MAP_APPFONT ( 200 , 10 ) ;
163
        Size = MAP_APPFONT ( 148 , 26 ) ;
164
        Text [ en-US ] = "Limit decimals for general number format" ;
164
        Text [ en-US ] = "Limit decimals for general number format" ;
165
        WordBreak = TRUE ;
165
    };
166
    };
166
    FixedText FT_PREC
167
    FixedText FT_PREC
167
    {
168
    {

Return to issue 117782