added a apply recommended graphics settings button to options
This commit is contained in:
@@ -15,6 +15,9 @@ func showOptionsPopup() {
|
||||
// Create options content with better organization and smaller titles
|
||||
optionsTitle := widget.NewLabel("Options")
|
||||
optionsTitle.TextStyle = fyne.TextStyle{Bold: true}
|
||||
// Create label for recommended settings
|
||||
recommendedSettingsLabel := widget.NewLabel("Graphics settings:")
|
||||
|
||||
gameOptionsContainer := container.NewVBox(
|
||||
optionsTitle,
|
||||
widget.NewSeparator(),
|
||||
@@ -22,6 +25,8 @@ func showOptionsPopup() {
|
||||
showTerminalCheckbox,
|
||||
vanillaTweaksCheckbox,
|
||||
widget.NewSeparator(),
|
||||
container.NewBorder(nil, nil, recommendedSettingsLabel, container.NewHBox(applyRecommendedSettingsButton, recommendedSettingsHelpButton), nil),
|
||||
widget.NewSeparator(),
|
||||
container.NewBorder(nil, nil, nil, container.NewHBox(enableOptionAsAltButton, disableOptionAsAltButton), optionAsAltStatusLabel),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user