Fix Primeface's DataTable's poor scrollbar appearance - jsf

As can be seen here:
primefaces scrolling DataTable
And in the image:
When using a vertical scrollbar only, the scrollbar is too far right of the table. This is more obviously displeasing when using dark colored themes.
How do you bring the scrollbar to be flush with the table?
I'm using Primefaces 3.0.1, and the showcase uses the latest snapshot.

This is not a bug, just increase your column widths or set a fixed scrollWidth, showcase is 100% for demonstration. If you create an issue ticket, it is likely to be marked as wontfix because there is nothing to fix.

Just a idea: What happens if you try using the scrollWidth="99%" or 100% ? cause in the example the XY make the vertical scrolling look well...

Related

up/down arrow adjustments in a spinbutton

How do I get an up/down arrow adjustmnet like in this image instead of the +/- adjustments. I didn't see anything the the spinbutton documentation addressing this.
You image is old school GTK (probably from GTK2). If you look at the widgets gallery from GTK3 and GTK4, you will see that the spin button has changed looks.
Looking at the different options in Glade, I found that GtkSpinButton inherits from GtkOrientable. You can set orientation to be either horizontal or vertical. I tried both options in Glade and neither gives the result you are looking for.
Vertical
Horizontal
In both cases, you have those -/+ you want to get rid of.
So to answer your question, sadly : no.

FlexBox Layout Android. How to delete vertical gaps between views?

I'm generating Views inside FlexBox layout by pressing the Start button. As you can see every item on even line has random size. It works almost as it supposed to be but there is a problem, I need to get rid of vertical gaps between two vertically adjacent views. I've tried all properties of Flex Box Layout but didn't find one that can help to solve my problem. I will be happy if you help me to solve this problem.
I've solved this problem. If you have the same task you should use Relative Layout and its' flags inside your android code. It'll give you all control under the positions of Views. If it will be necessary I can expand this answer to provide more detail.

JavaFX HTMLEditor: centered or right aligned texts lose their alignment when selecting(marking) them

Java version : Tried both JDK 7 and 8.
OS : Windows 7
I have implemented the JavaFX HTMLEditor in to my app using FXML but now I have a problem with it. All text which have centered or right aligned, they lose their alignment and get back to left side when selecting(highlighting) the content of the HTMLEditor.
*. It is happening in the SceneBuilder preview window too.
I thought maybe it is a bug but I am not sure so asking here.
Also please let me know if there is a alternative exist to the javaFXHTMLEditor. So I can use it :).
Thank you.
I have that problem too. I think that is JavaFX bug. The same problem is when you type something in different font size in different rows. After select/highlight text by mouse from bottom right to top left fonts are changing to size from first selected row.
I've tested it on JDK7 32/64 and JDK8 32/64. No difference.

UISegmentControl custom images not proper

I have a segment control with 5 segments. I need custom images to be shown on each segment for selected and deselected each.
Problem
The problem is when I place image programmatically on selection of segment I get default blue color on the left side of the segments
This seems to be a bug found in iOS6 at the moment. The solution is to change the segmentedControlStyle of the UISegmentedControl to UISegmentedControlStyleBar and set the momentary property to YES.
UISegmentedControl image highlighting bug in iOS6
I finally found a workaround. I changed the UISegmentControl style to Bar and set state Momentary to YES which removed the default blue color on selection. I guess this is a bug in iOS6. Found the solution from another stack overflow question. Thanks to verbumdei

ScrollBar in LWUIT

How can I edit the style of the listsĀ“ scrollbar?
I want to modify its width, mainly.
To change his colors I use the UIID ScrollThumb, is this correct?
Thanks
#Shai Almog shows me how to edit the ScrollBar.
Using the UIIDs "Scroll" and "ScrollThumb", I can customize my appsĀ“ scroll. Modifying padding/background I can control the width.
There are so many examples in the LWUIT svn.

Resources