#46 Text wrapping in memo

closed-wont-fix
None
5
2008-12-08
2008-08-12
No

Attached is two patches for implementation of text wrapping in a fpgui_memo
Also attached is a modification of the memotest example to show the wrapping in action

Discussion

  • Jean-Marc Levecque

    fpgfx patch

     
  • Jean-Marc Levecque

    Logged In: YES
    user_id=2004773
    Originator: YES

    Update of fpgfx for memo text wrapping implementation
    File Added: fpgfx.patch

     
  • Jean-Marc Levecque

    Logged In: YES
    user_id=2004773
    Originator: YES

    File Added: memotest.lpr

     
  • Jean-Marc Levecque

    memotest modified for text wrapping demo

     
  • Jean-Marc Levecque

    Logged In: YES
    user_id=2004773
    Originator: YES

    File Added: gui_memo.patch

     
  • Jean-Marc Levecque

    Logged In: YES
    user_id=2004773
    Originator: YES

    File Added: gui_memo.patch

     
  • Jean-Marc Levecque

    gui_memo update for text wrapping implementation

     
  • Graeme Geldenhuys

    • assigned_to: nobody --> graemeg
     
  • Graeme Geldenhuys

    Logged In: YES
    user_id=184122
    Originator: NO

    Thanks for the patch. I haven't applied it yet, as I noticed 3 issues with text wrapping. See attached images

    1) See memo1.png. Here the text wrapped correctly. I sometimes found that it removes the space between two words where the space triggers the wrap. The following line then has both words put together.

    2)See memo2.png. I resized the form as shown in image 1 and made in narrower. More words started to wrap, but now they paint over eachother.

    3) See memo3.png. I then enlarged the width of the form, to see if the wrapped line would unwrap. The word that wrapped in (1) does not unwrap, but the wrapped words from the action in (2) did.

     
  • Graeme Geldenhuys

    Logged In: YES
    user_id=184122
    Originator: NO

    SourceForge seems to be broken, I can't attach any files! :-(

     
  • Graeme Geldenhuys

    Logged In: YES
    user_id=184122
    Originator: NO

    SourceForge seems to be broken, I can't attach any files! :-(

     
  • Graeme Geldenhuys

    • status: open --> closed-wont-fix
     
  • Graeme Geldenhuys

    The new TextEdit component will replace the TfpgMemo component. TfpgTextEdit is in the prototypes directory and isn't 100% complete yet. But I should have it completed in my December holidays, because the next fpGUI release.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks