Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Maximizing the size of the form
Maximizing the size of the form [message #1820708] Mon, 27 January 2020 13:01 Go to next message
Krzysztof Leja is currently offline Krzysztof LejaFriend
Messages: 55
Registered: April 2019
Member
Hi,
Is it possible to maximize the form so that it occupies the full area of the application desktop?

For example, I found the following methods in the AbstractForm class, whose names suggest they may relate to what I'm looking for:

  • setMaximized(true)
  • setMaximizeEnabled(true)


I used them during form initialization, but without any visible effect in the appearance of the form. So what are they for?

Same question to similar methods:

  • setMinimized(true)
  • setMinimizeEnabled(true)



[Updated on: Mon, 27 January 2020 13:02]

Report message to a moderator

Re: Maximizing the size of the form [message #1820739 is a reply to message #1820708] Tue, 28 January 2020 08:14 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
Hi Krzysztof

It seems these methods are relics from the time when Scout was a rich client application. Since Scout moved to the web, these methods are no longer supported. I will mark them as deprecated in Scout 10 and we will remove them with Scout 11.

What exactly is your use case? Is your Form a view or a dialog?

You could try to hide the navigation tree on the left, when your Form (displayHint=view) is activated. Call setNavigationVisible(false) on the Desktop instance.

You could also use the "bench mode" of the Desktop and set displayStyle=DISPLAY_STYLE_BENCH, which removes the header and the navigation part, but I'm not sure if that works when you switch the style dynamically.

Cheers,
André


Eclipse Scout Homepage | Documentation | GitHub
Re: Maximizing the size of the form [message #1820745 is a reply to message #1820739] Tue, 28 January 2020 10:08 Go to previous message
Krzysztof Leja is currently offline Krzysztof LejaFriend
Messages: 55
Registered: April 2019
Member
Hi André,
Quote:
Since Scout moved to the web, these methods are no longer supported.


I had such suspicions that these functions are dead code, so thank you for dispelling my doubts :-)

Quote:
What exactly is your use case? Is your Form a view or a dialog?


Dialog.
Previous Topic:Setting a default Filter for a boolean column
Next Topic:displaying the content of table page on a smartphone
Goto Forum:
  


Current Time: Thu Nov 07 20:48:44 GMT 2024

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

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

Back to the top