mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibGUI: Let GTextEditor deal with its horizontal padding internally.
I originally wanted to have the padding concept in GScrollableWidget but it's really finicky with the ruler and everything.
This commit is contained in:
parent
78039ef057
commit
ec8bffb06d
Notes:
sideshowbarker
2024-07-19 15:01:34 +09:00
Author: https://github.com/awesomekling
Commit: ec8bffb06d
4 changed files with 24 additions and 30 deletions
|
|
@ -157,7 +157,8 @@ private:
|
|||
bool m_cursor_state { true };
|
||||
bool m_in_drag_select { false };
|
||||
bool m_ruler_visible { true };
|
||||
int m_line_spacing { 2 };
|
||||
int m_line_spacing { 4 };
|
||||
int m_soft_tab_width { 4 };
|
||||
int m_horizontal_content_padding { 2 };
|
||||
GTextRange m_selection;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue