Summary: | [REQ] Bigger Textboxes in Decoding Table | ||
---|---|---|---|
Product: | [Applications] okteta | Reporter: | Benjamin Hessenauer <hessenauer> |
Component: | general | Assignee: | Friedrich W. H. Kossebau <kossebau> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
okteta application window
okteta application window |
Description
Benjamin Hessenauer
2008-10-07 11:12:50 UTC
Hi, thanks for the report. Should not have happened, seems guessing the size needed with a placeholder XXXXXXXXXXXX fails for you. Will increase the placeholder then for 4.1.3. For KDE 4.2 Okteta is receiving a new version of the decoding table, a simple two-column table (type|value), where the width of the values depends on the width of the toolview. This allows to support more datatypes, for now I added 64bit ints. Any suggestions for other useful types? Benjamin, could you perhaps tell how many chars you need to scroll? What font are you using? The letter X should be as wide as the digits usually... Little screenshot of the decoder table would be useful, too :) Created attachment 27849 [details]
okteta application window
I am using the standard Kubuntu font "DejaVU Sans", font size 7! Scrolling: 32 and 64bit float: 4 chars unsigned 32 bit integer: 1 char signed 32 bit integer: 2 chars (Only if the integers are big, of course) I dont know how to delete attachments, but the second one actually shows a meaningful 32 bit float. Sorry, DejaVU Sans Mono for fixed-width font SVN commit 871326 by kossebau: fixed: calculation of the width of the value fields was too primitive QLineEdit should get a function "QSize sizeFor( const QString & ) const" or similar. And having to set QStyleOptionFrameV2 manually oneself sucks a little, too. First time in years I am unsatisfied with Qt, oh dear. I still guess I overlooked something ;) CCBUG: 172324 M +39 -7 kprimitivetypesview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=871326 |