MCPcopy Create free account
hub / github.com/BasicProtein/AugmentCode-Free / get_scrollarea_style

Function get_scrollarea_style

gui_qt6/styles.py:201–229  ·  view source on GitHub ↗

滚动区域样式

()

Source from the content-addressed store, hash-verified

199
200
201def get_scrollarea_style() -> str:
202 """滚动区域样式"""
203 return f"""
204 QScrollArea {{
205 background-color: {COLORS['background']};
206 border: none;
207 }}
208
209 QScrollBar:vertical {{
210 background-color: {COLORS['background']};
211 width: 12px;
212 border-radius: 6px;
213 }}
214
215 QScrollBar::handle:vertical {{
216 background-color: {COLORS['text_disabled']};
217 border-radius: 6px;
218 min-height: 20px;
219 }}
220
221 QScrollBar::handle:vertical:hover {{
222 background-color: {COLORS['text_secondary']};
223 }}
224
225 QScrollBar::add-line:vertical,
226 QScrollBar::sub-line:vertical {{
227 height: 0px;
228 }}
229 """
230
231
232def get_complete_style() -> str:

Callers 1

get_complete_styleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected