Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » DISPLAY_STYLE_BENCH(Another beginner question about Bench desktop style)
DISPLAY_STYLE_BENCH [message #1849597] Wed, 26 January 2022 09:01 Go to next message
Eclipse UserFriend
Hello everyone, sorry for the possibly stupid question, but when I set
protected String getConfiguredDisplayStyle() {
	return DISPLAY_STYLE_BENCH;
}

for Desktop class,

in Windows browsers page looks great: only navigate buttons on top and the form itself - what i wanted to achieve.

But on mobile (userAgent=HTML|MOBILE|CHROME|ANDROID|Mozilla/5.0 (Linux; Android 10; SAMSUNG SM-M515F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/15.0 Chrome/90.0.4430.210 Mobile Safari/537.36) everything is different, it feels like what I see is DISPLAY_STYLE_DEFAULT

The real question is how to achieve DISPLAY_STYLE_BENCH on mobile devices.
Re: DISPLAY_STYLE_BENCH [message #1849602 is a reply to message #1849597] Wed, 26 January 2022 09:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Oleg,

when the app runs on a mobile device, there are several transformations applied to optimize the appearance and behavior. One of the transformations affects the display style of the desktop, it will automatically be set to compact, see here.

You can disable all or individual transformations by replacing the MobileDeviceTransformer. Please see here for details.

Best regards
Claudio
Re: DISPLAY_STYLE_BENCH [message #1849627 is a reply to message #1849602] Thu, 27 January 2022 03:38 Go to previous message
Eclipse UserFriend
oh thanks, just what i need
Previous Topic:Tile Widget Example
Next Topic:One Day Tutorial stuck on first Launch
Goto Forum:
  


Current Time: Tue Apr 22 19:22:25 EDT 2025

Powered by FUDForum. Page generated in 0.03129 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top