Hide Forgot
Description of problem:"Add To Dashboard" button size is too small, text does not fit in Version-Release number of selected component (if applicable): JON 3.2.ER2, Firefox 24, Chromium 29 How reproducible: always
What resolution are you testing? I have attached a 1280x1024 screenshot. Please attach screenshot as well. Also, a pixel ruler would help as well to quantify what you are seeing on the screen.
Created attachment 806526 [details] Metrics Screen snapshot
Created attachment 806531 [details] invalid button size I am on 1920x1080. I've just doublechecked with Filip (Fedora 16, same resolution) and it's ok on his environment. So it must be something on my side. I wonder why it is the only button, everything else within jon looks correctly.
Maybe its a fonts/zoom issue. In FF, if you View --> Zoom --> Reset. Does the problem still exist?
So it looks like smartGWT is not sizing the button correctly to fit the width because it is using a default width (not specified). I'm making the button width fixed at 120 px (it was automatically sized at 101px) as to give it room to show all the characters in the label. The only side effect is that possible i18n would be greater than the 120px and would truncate the text (much like it is doing right now).
Committed to master with commit id: 6da584e