Bug Report T441613
Visible to All Users

ColorPickEdit - A dialog for "More Color..." does not have a proper size on Japanese system

created 8 years ago

Hi,

the "More Color…" dialog of the ColorPickEdit seems to have a wrong layout with the Japanese localization. See the attached picture for details.
Is there a workaround we could implement?

Comments (1)
DevExpress Support Team 8 years ago

    Hi,

    We have successfully reproduced the behavior you described and passed this ticket to our developers' team for further research. Please bear with us. We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 8 years ago (modified 8 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Show previous comments (1)
      DevExpress Support Team 8 years ago

        Hi,

        Our Localization Service allows you to change only translations for our resources, while the changes that were made to fix this shortcoming relate to removing the txtOpacity.Location, btnMakeWebSafe.Size, txtBright.Location, txtSaturation.Location, txtHue.Location, txtBlue.Location, txtGreen.Location, txtRed.Location, btnCancel.Location, btnOK.Location, and this.Size nodes from the resource files of the controls used in ColorPickEdit's dialog.

        That is why I suggest that you request a hotfix to obtain an intermediate version of our controls and test how it operates on your side.

        TL TL
        Tobias Lingemann 8 years ago

          Okay, we will stick with the old version then. Updating the core assemblies is a rather big deal in our case, while replacing the resource files for the Japanese version would be easy.
          We may update the core assemblies in the next year or so and get the fix then.

          DevExpress Support Team 8 years ago

            In the meantime, you can handle the ColorPickEdit.ColorPickDialogShowing event and change a location of the bottom elements of this dialog:

            C#
            void colorPickEdit1_ColorPickDialogShowing(object sender, ColorPickDialogShowingEventArgs e) { ChangeLocations(e.Form, new string[] { "lblSample", "btnOK", "btnCancel", "pnlSample" }); } private void ChangeLocations(Form parentForm, string[] controlNames) { Size indent = new Size(10, 10); foreach (string controlName in controlNames) { Control ctrl = parentForm.Controls[controlName]; if (ctrl != null) { ChangeLocation(ctrl, indent); } } } private void ChangeLocation(Control ctrl, Size indent) { ctrl.Location = new Point(ctrl.Location.X - indent.Width, ctrl.Location.Y - indent.Height); }

            Let me know if this temporary solution is suitable.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.