Skip to content

Commit

Permalink
adjusted main menu button sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettWilsonBDW committed Aug 27, 2024
1 parent 0e4a0d5 commit 34e8476
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def imguiMainMenu(self, windowSize, windowPosX=0, windowPosY=0):
imgui.spacing()
imgui.spacing()
imgui.set_cursor_pos_x(midX)
if imgui.button(self.buttonLabels[i]):
if imgui.button(self.buttonLabels[i], width=200):
self.currentTool = i

imgui.spacing()
Expand Down
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@
width: 100%;
height: 99%;
}

.centered-list li button {
width: 200px;
}
</style>
</head>

Expand Down

0 comments on commit 34e8476

Please sign in to comment.