| Summary: | [LnF] Modulegroups vertical Scroll | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] Riena | Reporter: | ekkehard gentz <ekke> | ||||
| Component: | Look And Feel | Assignee: | Project Inbox <riena.ui-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | christian.campo, florian.pirchner, yang.meyer | ||||
| Version: | 1.1.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
ekkehard gentz
Created attachment 144037 [details]
two only party visible Buttons at the Bottom
we intentionally dont have a scrollbar but rather two buttons on the bottom. Its possibly a mac problem that the vertical size is not high enough.....on windows they have up and down arrows. Christian, thx for info. its no problem to work without scrollbar there the two buttons become visible if not all can be displayed, but as you can see from screenshot (on OSX) they are only partly visible without an arrow, so it seems to be an OSX problem ekke Maybe that is a problem that you can check out yourself, since you are a committer and no one except me has a Mac among the committers other than you :-). I can support you once you have a fix to test that it also works on my Mac and on my Windows machine before you commit it. If you have some time left... perhaps you have a hint where to start to look into lnf code ...if you have some time left ;-) Here are some starting points (use Open Type aka Ctrl+T to find them): ScrollingSupport (this is consumen by NavigationViewPart) ScrollControlComposite#initControlButtons (SCC is an inner class of ScrollingSupport) ScrollControlComposite#layoutDownButton ScrollControlComposite#layoutUpButton One obvious problem is that the layoutXXX methods use hard-coded pixel values, which are different between win / mac. Hope this helps, Elias. thx elias, this helps much. I'll take a look at this. in redView we always calculate absolute values depending from OS perhaps I found a way to re-calculate values in Riena, too, but this is sometimes not easy ;-) ekke A related idea: personally I also think that FormLayout is maybe not a very good way to place these two buttons, since it requires pixel values. Maybe one can use GridLayout or FillLayout instead (which deal better with different sized widgets). Now (Jan. 2011) it possible to set the height of the navigation scroll-buttons in the Riena LnF (NAVIGATION_SCROLL_BUTTON_HEIGHT). Use a greater value for the button height. So the images on the buttons should be visible. |