Replies: 8 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
I've thought about using custom formatting fields to do this, but when we change the value of a register, the content in the right layout should be dynamically fetched and populated based on whether the register is a pointer or not, so the custom formatting method is still not suitable for this situation |
Beta Was this translation helpful? Give feedback.
-
If the information is organized such that each row follows the same pattern and has columns that can be aligned with those of other rows, you should use a table view. If not, you could use a slice view on a slice of strings that contains all of the data for each row. Also, you could combine all of the data into one formatted string that is displayed in a text editor, which is what it looks like your reference app is doing. I can give you more information about how to do any of these options if you need. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry for the late reply, yesterday I had something to do and didn't have time to go online all day, I'll test it as soon as possible according to your prompts |
Beta Was this translation helpful? Give feedback.
-
I found out today that the task manager and file manager, as well as the etable and svg visual editor-related repositories, seem to have been removed, and these repositories are still very common programs |
Beta Was this translation helpful? Give feedback.
-
At present, goki has tested the complex layout of multiple scenes on my side, I will take the time to learn goki's drawing function, once a little received, I will talk about collaborating with you to design tree table widgets and other things, I use table controls for cryptography algorithm testing applets, packet capture programs, debugger programs, and may also drag and drop visual interface designers in the future, as well as some ERP software, such as warehouse management, purchase, sales and inventory, etc., There are also some excel editors and so on, for excel editors, I personally don't think WPS, Microsoft's excel editor, etc. are more modern design, because their excel editor needs to manually enter the sum of sums, for classification it is a mess, there is no pace to keep up with the times, on the contrary, suppose we use the tree table widget for the design of ERP software, excel editor, financial statement related software is quite intuitive, For example, the excel editor uses tree table widgets to automatically classify, sum, and many more intuitive features. When I get to grips with the drawing logic, I think I'll first study the table row click event support and odd and even row zebra crossings, select the row and set the background color, but unfortunately I'm still in the testing layout stage, but I'll try to learn your code, because I've studied about seven or eight UI libraries before, and Goki is the most in line with the taste of the Go language, haha. |
Beta Was this translation helpful? Give feedback.
-
I will try, thx you very much |
Beta Was this translation helpful? Give feedback.
-
Based on your prompts, I thought for a long time and decided to use a table layout for the register layout, because if you use a text editor, it will not reflect the user's behavior of changing the register value. Another layout is that the left struct shows the widget display register, and the right text editing widget, so it is possible to insert the split widget in the process of adjusting the layout, and the register layout should not have a separator for the split widget because the position is tight, so the text editor method is not used. I'll try to lay out the register area first, and I'll ask you about the list widget when the time comes |
Beta Was this translation helpful? Give feedback.
-
I searched all the widgets and found that none of them fit the list style, can you implement a list widget? I've thought about laying out a bunch of buttons vertically, and then whether I can style it to debug the distance between each two buttons I don't know
Beta Was this translation helpful? Give feedback.
All reactions