Repository navigation
09 Launchpad: full width instead of the letterbox (Z2UI5_CL_SMPS_APP_027) - #106
Merged
oblomov-dev merged 1 commit intoOct 26, 2026
Merged
Conversation
…027) A wide table and a switch: on start the app asks the launchpad for its whole width with follow_up_action( cs_event-set_app_full_width ) and X, and the switch toggles between that and the letterbox (no argument). The sap.m.Shell is rendered with appWidthLimited = false, which the sample says, since it would box the app in on its own. Needs abap2UI5 newer than 1.148.0 - the event is added in abap2UI5/abap2UI5 (pending). Overview entry, package README, SAMPLES.md, catalogue.json and catalogue-derived.json updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uu5dGm1HwqExPho5SgWZL1
Member
|
thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A sample for
cs_event-set_app_full_width, the frontend action added in abap2UI5/abap2UI5#2953.What it shows
Inside the launchpad an app is shown at a limited width with margins left and right (the letterbox) unless it asks for the full screen. A Fiori elements app asks in its manifest; an abap2UI5 app asks at runtime.
Z2UI5_CL_SMPS_APP_027is a 12-column table with a switch:follow_up_action( cs_event-set_app_full_width )withX, and the table takes the whole width of the window.abap_falsearrives, and the framework reads it as the letterbox.sap.m.Shellis rendered withappWidthLimited = false. The sample's ABAP Doc says why: the Shell limits the width on its own, so without that the app stays boxed in however wide the launchpad lets it be.Started standalone, the sample shows the same message box as
Z2UI5_CL_SMPS_APP_481to_483. It needs no configuration beyond a launchpad tile for abap2UI5. Some launchpads start every app at full width already; there the switch shows the letterbox when it is turned off.The sample needs abap2UI5 newer than 1.148.0.
Changes
src/09/z2ui5_cl_smps_app_027.clas.abapand.clas.xml: the new sample, with ABAP Doc,@keywordsand@summarysrc/z2ui5_cl_smps_app_000.clas.abap: overview entry int_launchpadsrc/09/README.md: a sample table row, and027added to the samples that checkcheck_launchpad_activeSAMPLES.md,catalogue.jsonandcatalogue-derived.json: regeneratedHow it was tested
check:released-apifail onmainuntil abap2UI5/abap2UI5#PR_NUMBER is merged, with the one findingComponent "set_app_full_width" not found. Against the PR's branch: 0 issues on the whole repository (v757), and forsrc/09also 0 issues at v740sp08 and at Cloud.abap2ui5lint: 0 errors and 0 warnings for the new sample. The one hint left is the existinghandler-without-eventonZ2UI5_CL_SMPS_APP_026.check:pin,check:overview,check:keywords,check:titles,check:abapdoc,check:samples-md,check:catalogue,check:derived,check:app-rules,check:atcandcheck:prose.setApplicationFullWidth(false)and(true).🤖 Generated with Claude Code