diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/TabsWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/TabsWidget.java index b0c44d92190..093d1d70892 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/TabsWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/TabsWidget.java @@ -77,7 +77,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) { @Override public void updatePlacementTranslationZ() { - getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.settings_world_z) - + getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.tray_world_z) - WidgetPlacement.getWindowWorldZMeters(getContext()); } diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/PromptDialogWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/PromptDialogWidget.java index 59d4aee8231..2676238a516 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/PromptDialogWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/PromptDialogWidget.java @@ -102,7 +102,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) { @Override public void updatePlacementTranslationZ() { - getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.settings_world_z) - + getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.tray_world_z) - WidgetPlacement.getWindowWorldZMeters(getContext()); } diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/VoiceSearchWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/VoiceSearchWidget.java index d4785ff4fb1..227a7450f6e 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/VoiceSearchWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/dialogs/VoiceSearchWidget.java @@ -153,7 +153,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) { @Override public void updatePlacementTranslationZ() { - getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.settings_world_z) - + getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.tray_world_z) - WidgetPlacement.getWindowWorldZMeters(getContext()); } diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SaveLoginPromptWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SaveLoginPromptWidget.java index 9ea6eaf4083..cab2f8d6ed6 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SaveLoginPromptWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SaveLoginPromptWidget.java @@ -98,7 +98,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) { @Override public void updatePlacementTranslationZ() { - getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.settings_world_z) - + getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.tray_world_z) - WidgetPlacement.getWindowWorldZMeters(getContext()); } diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SelectLoginPromptWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SelectLoginPromptWidget.java index e03544a81ef..9a2cbdd3018 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SelectLoginPromptWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/prompts/SelectLoginPromptWidget.java @@ -103,7 +103,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) { @Override public void updatePlacementTranslationZ() { - getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.settings_world_z) - + getPlacement().translationZ = WidgetPlacement.unitFromMeters(getContext(), R.dimen.tray_world_z) - WidgetPlacement.getWindowWorldZMeters(getContext()); }