Kaydet (Commit) 6a835037 authored tarafından Andras Timar's avatar Andras Timar

no space between number and percent or degree mark - consistency

üst b1f56162
...@@ -1151,12 +1151,6 @@ ColorPickerDialog::ColorPickerDialog( Window* pParent, sal_Int32 nColor, sal_Int ...@@ -1151,12 +1151,6 @@ ColorPickerDialog::ColorPickerDialog( Window* pParent, sal_Int32 nColor, sal_Int
{ {
FreeResource(); FreeResource();
String sUnitText;
sUnitText.Append( ' ' );
sUnitText.Append( (sal_Unicode) 0xb0 );
maMFHue.SetCustomUnitText( sUnitText );
Link aLink( LINK( this, ColorPickerDialog, ColorModifyHdl ) ); Link aLink( LINK( this, ColorPickerDialog, ColorModifyHdl ) );
maColorField.SetModifyHdl( aLink ); maColorField.SetModifyHdl( aLink );
maColorSlider.SetModifyHdl( aLink ); maColorSlider.SetModifyHdl( aLink );
......
...@@ -312,6 +312,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -312,6 +312,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 360 ; Maximum = 360 ;
Last = 360 ; Last = 360 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = "°" ;
}; };
FixedText CT_SATURATION FixedText CT_SATURATION
...@@ -333,7 +334,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -333,7 +334,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ; Maximum = 100 ;
Last = 100 ; Last = 100 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = " %" ; CustomUnitText = "%" ;
}; };
FixedText CT_BRIGHTNESS FixedText CT_BRIGHTNESS
...@@ -355,7 +356,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -355,7 +356,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ; Maximum = 100 ;
Last = 100 ; Last = 100 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = " %" ; CustomUnitText = "%" ;
}; };
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
...@@ -388,7 +389,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -388,7 +389,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ; Maximum = 100 ;
Last = 100 ; Last = 100 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = " %" ; CustomUnitText = "%" ;
}; };
FixedText CT_MAGENTA FixedText CT_MAGENTA
...@@ -410,7 +411,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -410,7 +411,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ; Maximum = 100 ;
Last = 100 ; Last = 100 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = " %" ; CustomUnitText = "%" ;
}; };
FixedText CT_YELLOW FixedText CT_YELLOW
...@@ -432,7 +433,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -432,7 +433,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ; Maximum = 100 ;
Last = 100 ; Last = 100 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = " %" ; CustomUnitText = "%" ;
}; };
FixedText CT_KEY FixedText CT_KEY
...@@ -454,7 +455,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER ...@@ -454,7 +455,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
Maximum = 100 ; Maximum = 100 ;
Last = 100 ; Last = 100 ;
Unit = FUNIT_CUSTOM ; Unit = FUNIT_CUSTOM ;
CustomUnitText = " %" ; CustomUnitText = "%" ;
}; };
// ------------------------------------------------------ // ------------------------------------------------------
......
...@@ -71,7 +71,7 @@ ModalDialog RID_SVXDLG_ZOOM ...@@ -71,7 +71,7 @@ ModalDialog RID_SVXDLG_ZOOM
HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100"; HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100";
Pos = MAP_APPFONT ( 12 , 53 ) ; Pos = MAP_APPFONT ( 12 , 53 ) ;
Size = MAP_APPFONT ( 105, 10 ) ; Size = MAP_APPFONT ( 105, 10 ) ;
Text = "~100 %" ; Text = "~100%" ;
}; };
RadioButton BTN_USER RadioButton BTN_USER
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment