mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-19 13:58:37 -04:00
Fix sync choice box width
This commit is contained in:
@@ -82,7 +82,7 @@ public class SyncCategory extends AppPrefsCategory {
|
||||
.sub(prefs.getCustomOptions("gitVaultIdentityStrategy"))
|
||||
.pref(prefs.syncMode)
|
||||
.addComp(
|
||||
ChoiceComp.ofTranslatable(prefs.syncMode, Arrays.asList(SyncMode.values()), false),
|
||||
ChoiceComp.ofTranslatable(prefs.syncMode, Arrays.asList(SyncMode.values()), false).maxWidth(getCompWidth()),
|
||||
prefs.syncMode)
|
||||
.addComp(createManualControls())
|
||||
.hide(prefs.syncMode.isNotEqualTo(SyncMode.MANUAL).or(prefs.enableGitStorage.not()))
|
||||
|
||||
Reference in New Issue
Block a user