Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » CtrlLib PaletteLayout wrong size (Very Minor)
CtrlLib PaletteLayout wrong size (Very Minor) [message #17384] Mon, 11 August 2008 17:51 Go to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I'm really only posting this so that I don't have to remember to re-make the change myself.

The problem is that the EditIntSpins for RGB/HSV are too narrow to display 255 correctly. Fixed layout:
LAYOUT(PaletteLayout, 216, 332)
	ITEM(TabCtrl, palette_tab, HSizePosZ(4, 4).VSizePosZ(4, 82))
	ITEM(Label, dv___1, SetLabel(t_("Color:")).LeftPosZ(4, 36).BottomPosZ(52, 24))
	ITEM(DataPusher, color, HSizePosZ(68, 32).BottomPosZ(54, 22))
	ITEM(Button, set_transparent, RightPosZ(4, 18).BottomPosZ(56, 18))
	UNTYPED(fetch_color, RightPosZ(4, 18).BottomPosZ(30, 18))
	ITEM(Label, dv___5, SetLabel(t_("R:")).LeftPosZ(4, 12).BottomPosZ(29, 19))
	ITEM(EditIntSpin, r, LeftPosZ(16, 44).BottomPosZ(29, 19))
	ITEM(Label, dv___7, SetLabel(t_("G:")).LeftPosZ(72, 12).BottomPosZ(29, 19))
	ITEM(EditIntSpin, g, LeftPosZ(84, 44).BottomPosZ(29, 19))
	ITEM(Label, dv___9, SetLabel(t_("B:")).LeftPosZ(136, 12).BottomPosZ(29, 19))
	ITEM(EditIntSpin, b, LeftPosZ(150, 42).BottomPosZ(29, 19))
	ITEM(Label, dv___11, SetLabel(t_("H:")).LeftPosZ(4, 12).BottomPosZ(5, 19))
	ITEM(EditIntSpin, h, LeftPosZ(16, 44).BottomPosZ(5, 19))
	ITEM(Label, dv___13, SetLabel(t_("S:")).LeftPosZ(72, 12).BottomPosZ(5, 19))
	ITEM(EditIntSpin, s, LeftPosZ(84, 44).BottomPosZ(5, 19))
	ITEM(Label, dv___15, SetLabel(t_("V:")).LeftPosZ(136, 12).BottomPosZ(5, 19))
	ITEM(EditIntSpin, v, LeftPosZ(148, 44).BottomPosZ(5, 19))
END_LAYOUT

[Updated on: Mon, 11 August 2008 17:52]

Report message to a moderator

Re: CtrlLib PaletteLayout wrong size (Very Minor) [message #17385 is a reply to message #17384] Mon, 11 August 2008 20:03 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Patched.

Mirek

Previous Topic: OleCalc from examples - can't register OCX
Next Topic: Vector Error
Goto Forum:
  


Current Time: Fri Mar 29 15:10:27 CET 2024

Total time taken to generate the page: 0.01353 seconds