Skip to content

Commit

Permalink
Correct Color Picker GUI text & text edit controls
Browse files Browse the repository at this point in the history
Some text was black on dark which is hard to read. Due to use of non-existing or incorrect profiles. Title is also updated to be visually in line with the rest of the world editor.
  • Loading branch information
Eikelenboom committed Sep 12, 2024
1 parent 7031424 commit ce8a10b
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions Templates/BaseGame/game/tools/gui/colorPicker.ed.gui
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
canSaveDynamicFields = "0";

new GuiWindowCtrl(GuiPickerDlg) {
text = "Color Picker";
text = ":: Color Picker";
resizeWidth = "0";
resizeHeight = "0";
canMove = "1";
Expand Down Expand Up @@ -128,9 +128,9 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
};
new GuiTextCtrl() {
text = "New";
position = "306 22";
position = "305 22";
extent = "26 14";
profile = "GuiDefaultProfile";
profile = "ToolsGuiTextProfile";
};
new GuiBitmapBorderCtrl(){ // new old color
position = "292 37";
Expand Down Expand Up @@ -162,9 +162,9 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
};
new GuiTextCtrl() {
text = "Old";
position = "310 138";
position = "307 137";
extent = "26 14";
profile = "GuiDefaultProfile";
profile = "ToolsGuiTextProfile";
};
new GuiBitmapBorderCtrl(){ // Color Text Fields
position = "291 165";
Expand All @@ -185,7 +185,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {

new GuiControl() { // rgb
position = "4 0";
extent = "52 75";
extent = "52 80";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
Expand All @@ -209,7 +209,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "5 6";
position = "1 6";
extent = "8 18";
minExtent = "8 2";
horizSizing = "right";
Expand All @@ -228,12 +228,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
};
new GuiTextEditCtrl(Channel_R_Val) { // Red Channal
text = "0";
maxLength = "4";
maxLength = "6";
position = "14 6";
extent = "34 18";
extent = "34 28";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
class = "ColorPickerRGBClass";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Red Channel color value.";
Expand All @@ -247,7 +247,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "4 29";
position = "0 29";
extent = "8 18";
minExtent = "8 2";
horizSizing = "right";
Expand All @@ -266,12 +266,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
};
new GuiTextEditCtrl(Channel_G_Val) { // Green Channal
text = "0";
maxLength = "4";
maxLength = "6";
position = "14 29";
extent = "34 18";
extent = "34 28";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
class = "ColorPickerRGBClass";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Green Channel color value.";
Expand All @@ -285,7 +285,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "5 52";
position = "1 52";
extent = "8 18";
minExtent = "8 2";
horizSizing = "right";
Expand All @@ -304,12 +304,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
};
new GuiTextEditCtrl(Channel_B_Val) { // Blue Channal
text = "0";
maxLength = "4";
maxLength = "6";
position = "14 52";
extent = "34 18";
extent = "34 28";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
class = "ColorPickerRGBClass";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Blue Channel color value.";
Expand Down Expand Up @@ -341,7 +341,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "5 6";
position = "1 6";
extent = "8 18";
minExtent = "8 2";
horizSizing = "right";
Expand All @@ -365,7 +365,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
extent = "34 18";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
class = "ColorPickerHSBClass";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Hue Channel color value.";
Expand Down Expand Up @@ -404,7 +404,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "4 29";
position = "0 29";
extent = "8 18";
minExtent = "8 2";
horizSizing = "right";
Expand All @@ -428,7 +428,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
extent = "34 18";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
class = "ColorPickerHSBClass";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Saturation Channel color value.";
Expand Down Expand Up @@ -467,12 +467,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "5 52";
position = "1 52";
extent = "8 18";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiTextProfile";
profile = "ToolsGuiTextProfile";
visible = "1";
active = "1";
Clickable = "1";
Expand All @@ -491,7 +491,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
extent = "34 18";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
class = "ColorPickerHSBClass";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Brightness Channel color value. Aka value or lightness.";
Expand Down Expand Up @@ -668,7 +668,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
extent = "34 18";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiTextEditProfileNumbersOnly";
profile = "ToolsGuiTextEditProfile";
altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); updateColorPickerAlpha( $ThisControl.getValue() );";
internalName = "TextEdit";
};
Expand Down

0 comments on commit ce8a10b

Please sign in to comment.