Skip to content

Commit

Permalink
adjust size
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBarii committed Aug 3, 2024
1 parent ea1e2d3 commit b4f2a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Client/Module/Modules/ClickGUI/ClickGUIRenderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ClickGUIRenderer : public Listener {

/* tab buttons start */

float shit = Constraints::RelativeConstraint(0.395f);
float shit = Constraints::RelativeConstraint(0.448f);

float RadioButtonWidth = Constraints::RelativeConstraint(0.134, "width");
float RadioButtonHeight = shit;
Expand Down Expand Up @@ -249,7 +249,7 @@ class ClickGUIRenderer : public Listener {
}


logoWidth = Constraints::RelativeConstraint(0.243f);
logoWidth = shit * 0.625f;

radioX += Constraints::SpacingConstraint(0.29f, logoWidth);
radioY += Constraints::SpacingConstraint(0.29f, logoWidth);
Expand All @@ -261,7 +261,7 @@ class ClickGUIRenderer : public Listener {

// radiobutton of settings

radioX = navx - Constraints::SpacingConstraint(-0.85f, logoWidth);
radioX = navx - Constraints::SpacingConstraint(-0.36f, logoWidth);
radioY = (navy + navigationBarHeight / 2.0f - RadioButtonHeight / 2.0f);

if(ClickGUIRenderer::curr != "settings") {
Expand Down Expand Up @@ -304,7 +304,7 @@ class ClickGUIRenderer : public Listener {

// radiobutton of editmenu

radioX = navx - Constraints::SpacingConstraint(-0.85f, logoWidth);
radioX = navx - Constraints::SpacingConstraint(-0.36f, logoWidth);
radioY = (navy + navigationBarHeight / 2.0f - RadioButtonHeight / 2.0f);

radioPushAmount2 = Constraints::SpacingConstraint(0.9f * 5.69f, logoWidth) + width1 + width2;
Expand Down

0 comments on commit b4f2a04

Please sign in to comment.