1. I am working on a GUI. I made it working on a 1600x900 resolution but when I test it on a different resolution looks like the GUI is on a different position. Like 2cm right.

    Is that normal?
     
  2. Wulf

    Wulf Community Admin

    Yes, it will appear different at every resolution.
     
  3. Ok. But if I use a 100% width, it will on the same position? Like InfoPanel.
     
  4. Wulf

    Wulf Community Admin

    Not exactly, pretty hard to make it look good at all resolutions.
     
  5. Ok. Let me ask you other thing Wulf.
    I am trying to make a GUI. On that GUI a have a text with a value that changes. Do you have any idea what can I do to reload that value on the GUI but without reloading the full GUI?

    Code:
    void CrearGUIGlobal(BasePlayer player)
            {
                var Elementos = new CuiElementContainer();
                var GUIGlobal = Elementos.Add(new CuiPanel
                {
                    Image =
                    {
                        Color = "0 0 0 0.91"
                    },
                    RectTransform =
                    {
                        AnchorMin = "0 0.969",
                        AnchorMax = "1 0.995"
                    },
                    CursorEnabled = false
                }, "HUD/Overlay", "GUIGlobal");
                Elementos.Add(new CuiLabel
                {
                    Text =
                        {
                            Text = Something,
                            FontSize = 13,
                            Align = TextAnchor.MiddleLeft
                        },
                    RectTransform =
                        {
                            AnchorMin = "0 0",
                            AnchorMax = "1 1"
                        }
                }, GUIGlobal);
                CuiHelper.AddUi(player, Elementos);     
            }
     
  6. Wulf

    Wulf Community Admin

    You can either send it all again, or send the part you don't want to update separately.