Allen Dang

Results 166 comments of Allen Dang

@gucio321 I just back to work, let me do some digging, will feedback to you soon.

@snhmibby Update to newest code and try again.

@snhmibby If you are testing 2 days ago, giu will multiply the size by DPI scaling when `CalcTextSize` is called. For newest code of giu, the DPI scaling is removed,...

I'm trying to rewrite a new code editor pure in go now. Let's keep it as it is now.

@gucio321 IMO, let's wait upstream issue gets solved. I've been suffered much to apply custom patches, for now the power-saving patch. I have to do line-by-line diff and merge each...

@gucio321 Check this https://github.com/ocornut/imgui/issues/3714

@gucio321 I think we should keep it open until upstream solution comes.

Because there is a flag for label, aka `...Wrap` which will cause label to wrap the text with specify width. Without it, label will expand as long as the text.

@r00tc0d3 I see, you are saying the label of input text widget, not label widget itself. Try set the window flags like this. ```go g.Window("TestWindow").Flags(g.WindowFlagsAlwaysAutoResize).Layout( g.InputText(&content).Label("Long text as input text...

@r00tc0d3 I don't quite understand `So it does the job but I can explain the size difference of the edit box.`...