From 6efd796a303d631b263ad2177438248251c6d98e Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 2 Dec 2012 03:49:28 +0100 Subject: initial support for icon sets in the dialog Change-Id: I5da2500b96ba3b03bf822cf428c001204010989e --- sc/source/ui/src/condformatdlg.src | 71 +++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/src/condformatdlg.src') diff --git a/sc/source/ui/src/condformatdlg.src b/sc/source/ui/src/condformatdlg.src index ab988665a353..e0a5f25905ed 100644 --- a/sc/source/ui/src/condformatdlg.src +++ b/sc/source/ui/src/condformatdlg.src @@ -177,14 +177,16 @@ Control RID_COND_ENTRY ListBox LB_COLOR_FORMAT { Pos = MAP_APPFONT( 100, 15 ); - Size = MAP_APPFONT( 100, 60); + Size = MAP_APPFONT( 80, 60); Border = TRUE; DropDown = TRUE; + DDExtraWidth = TRUE; StringList [ en-US ] = { "Color Scale (2 Entries)"; "Color Scale (3 Entries)"; "Data Bar"; + "Icon Set"; }; }; FixedText FT_STYLE @@ -334,6 +336,73 @@ Control RID_COND_ENTRY "Next year"; }; }; + ListBox LB_ICONSET_TYPE + { + Pos = MAP_APPFONT( 200, 15 ); + Size = MAP_APPFONT( 80, 50 ); + Border = TRUE; + DropDown = TRUE; + DDExtraWidth = TRUE; + StringList [ en-US ] = + { + "3 Arrows"; + "3 Gray Arrows"; + "3 Flags"; + "3 Traffic Lights 1"; + "3 Traffic Lights 2"; + "3 Signs"; + "3 Symbols 1"; + "3 Symbols 2"; + "4 Arrows"; + "4 Gray Arrows"; + "4 Circles Red to Black"; + "4 Ratings"; + "4 Traffic Lights"; + "5 Arrows"; + "5 Gray Arrows"; + "5 Ratings"; + "5 Quarters"; + }; + }; +}; + +Control RID_ICON_SET_ENTRY +{ + Pos = MAP_APPFONT( 0, 35 ); + Size = MAP_APPFONT(300, 16); + // Picture of the Icon + FixedImage IMG_ICON + { + Pos = MAP_APPFONT( 5, 0 ); + Size = MAP_APPFONT( 16, 16 ); + }; + FixedText FT_ICON_SET_ENTRY_TEXT + { + Pos = MAP_APPFONT( 40, 0 ); + Size = MAP_APPFONT(40, 14); + Text [en-US] = " <= "; + }; + Edit ED_ICON_SET_ENTRY_VALUE + { + Pos = MAP_APPFONT( 90, 0 ); + Size = MAP_APPFONT( 40, 14 ); + Border = TRUE; + }; + ListBox LB_ICON_SET_ENTRY_TYPE + { + Pos = MAP_APPFONT( 140, 0 ); + Size = MAP_APPFONT( 60, 40 ); + Border = TRUE; + DropDown = TRUE; + DDExtraWidth = TRUE; + StringList [ en-US ] = + { + "Value"; + "Percent"; + "Percentile"; + "Formula"; + }; + }; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit